|
EngineKit
|
#import <Capsule.h>
Class Methods | |
| (instancetype) | + capsule |
Class Methods inherited from Item | |
| (instancetype) | + create |
Class Methods inherited from <CapsuleExport> | |
| (instancetype) | + create |
Properties | |
| CGFloat | radius |
| CGFloat | height |
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 <CapsuleExport> | |
| id | position |
| id | rotation |
| id | scale |
| id | color |
| CGFloat | radius |
| CGFloat | height |
A capsule, which is essentially a cylinder with two hemispheres on each end.
| + (SCNCapsule *) capsule |
Creates a new instance of Capsule, with the default measures set by SCNCapsule.
Capsule. Reimplemented from <CapsuleExport>.
|
readwritenonatomicassign |
An alias for the SCNCapsule's height property. Speficies the extent of the Capsule along the y axis.
|
readwritenonatomicassign |
An alias for the SCNCapsule's radius property. Speficies the radius used for both the Capsule's 'cylinder' and its 'hemispheres'. Both the cylinder's circular bases are aligned with the xz plane and centered in the origin.