EngineKit
|
#import <Box.h>
Class Methods | |
(instancetype) | + box |
![]() | |
(instancetype) | + create |
![]() | |
(instancetype) | + create |
Properties | |
CGFloat | width |
CGFloat | height |
CGFloat | length |
CGFloat | chamferRadius |
![]() | |
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 | width |
CGFloat | height |
CGFloat | length |
CGFloat | chamferRadius |
A paralelepiped, with specificiable width, length and height. The edges and vertices of the Box's geometry may also be rounded with the chamferRadius
property. Essentially, a wrapper for SCNBox
.
+ (SCNBox *) box |
Creates a new instance of Box
, with the default measures set by SCNBox
, which create a cube with no chamfer.
Box
. Reimplemented from <BoxExport>.
|
readwritenonatomicassign |
An alias for the SCNBox's chamferRadius
property. Speficies the radius to use when rounding both the edges and the vertices of the Box.
|
readwritenonatomicassign |
An alias for the SCNBox's height
property. Speficies the size of the box along its y
axis.
|
readwritenonatomicassign |
An alias for the SCNBox's length
property. Speficies the size of the box along its z
axis.
|
readwritenonatomicassign |
An alias for the SCNBox's width
property. Speficies the size of the box along its x
axis.