User Guide
Chapter 19476
Box properties
Boxes have a
type property of #box. Box properties can be modified or animated at runtime.
Property Access Description Value Range
height Get and set Height of the box, measured along the y-axis. Positive floating-point
value. The default is
50.0.
width Get and set Width of the box, measured along the x-axis. Positive floating-point
value. The default is
50.0.
length Get and set Length of the box, measured along the z-axis. Positive floating-point
value. The default is
50.0.
top Get and set Value indicating whether the top of the box is
closed or open.
TRUE (1) = closed.
TRUE (1) or FALSE
(0)
. The default is TRUE
(1)
.
bottom Get and set Value indicating whether the bottom of the box
is closed or open.
TRUE (1) = closed.
TRUE (1) or FALSE
(0)
. The default is TRUE
(1)
.
front Get and set Value indicating whether the front of the box is
closed or open.
TRUE (1) = closed.
TRUE (1) or FALSE
(0)
. The default is TRUE
(1)
.
back Get and set Value indicating whether the back of the
cylinder is closed or open.
TRUE (1) = closed.
TRUE (1) or FALSE
(0)
. The default is TRUE
(1)
.
left Get and set Value indicating whether the left end of the box
is closed or open.
TRUE (1) = closed.
TRUE (1) or FALSE
(0)
. The default is TRUE
(1)
.
right Get and set Value indicating whether the right end of the
box is closed or open.
TRUE (1) = closed.
TRUE (1) or FALSE
(0)
. The default is TRUE
(1)
.
lengthVertic
es
Get and set Number of vertices along the length of the box.
Increasing the number of vertices improves
lighting effects.
2 or more. The default
is
4.
width
Vertices
Get and set Number of vertices along the width of the box.
Increasing the number of vertices improves
lighting effects.
2 or more. The default
is
4.
height
Vertices
Get and set Number of vertices along the height of the box.
Increasing the number of vertices improves
lighting effects.
2 or more. The default
is
4.