EngineKit
|
#import <Capsule.h>
Class Methods | |
(instancetype) | + capsule |
![]() | |
(instancetype) | + create |
![]() | |
(instancetype) | + create |
Properties | |
CGFloat | radius |
CGFloat | height |
![]() | |
id | color |
![]() | |
SCNNode * | node |
The node that this Item is wrapping. | |
id | position |
id | rotation |
id | scale |
SCNGeometry * | geometry |
![]() | |
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.