EngineKit
Pyramid Class Reference

#import <Pyramid.h>

Inheritance diagram for Pyramid:
Shape <PyramidExport> Item

Class Methods

(instancetype) + pyramid
 
- Class Methods inherited from Item
(instancetype) + create
 
- Class Methods inherited from <PyramidExport>
(instancetype) + create
 

Properties

CGFloat width
 
CGFloat height
 
CGFloat length
 
- Properties inherited from Shape
id color
 
- Properties inherited from Item
SCNNode * node
 The node that this Item is wrapping.
 
id position
 
id rotation
 
id scale
 
SCNGeometry * geometry
 
- Properties inherited from <PyramidExport>
id position
 
id rotation
 
id scale
 
id color
 
CGFloat width
 
CGFloat height
 
CGFloat length
 

Detailed Description

A square based pyramid, with specifiable width, length and height.

Method Documentation

+ (SCNPyramid *) pyramid

Creates a new instance of Pyramid, with the default measures set by SCNPyramid.

Returns
a new, default instance of Pyramid.

Reimplemented from <PyramidExport>.

Property Documentation

- (CGFloat) height
readwritenonatomicassign

An alias for the SCNPyramid's height property. Speficies the height used for the Pyramid, which represents its y axis extent.

- (CGFloat) length
readwritenonatomicassign

An alias for the SCNPyramid's length property. Speficies the length used for the Pyramid, which represents its z axis extent.

- (CGFloat) width
readwritenonatomicassign

An alias for the SCNPyramid's width property. Speficies the width used for the Pyramid, which represents its x axis extent.


The documentation for this class was generated from the following files: