EngineKit
|
#import <Torus.h>
Class Methods | |
(instancetype) | + torus |
![]() | |
(instancetype) | + create |
![]() | |
(instancetype) | + create |
Properties | |
CGFloat | ringRadius |
CGFloat | pipeRadius |
![]() | |
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 | ringRadius |
CGFloat | pipeRadius |
A torus, which is a shape much like a donut, with specifiable ring radius and pipe radius.
+ (SCNTorus *) torus |
Creates a new instance of Torus
, with the default measures set by SCNTorus
.
Torus
. Reimplemented from <TorusExport>.
|
readwritenonatomicassign |
An alias for the SCNTorus's pipeRadius
property. Speficies the radius that the Torus's pipe will have, or the donut's thickness.
|
readwritenonatomicassign |
An alias for the SCNTorus's ringRadius
property. Speficies the radius that the Torus's ring will have, or how wide the donut will be.