Box#
- class Drawing.Box#
The edges of a box. Created using
Drawing.add_box().-
center:
Tuple# Position of the center of the box.
- Attribute:
Can be read or written
-
size:
Tuple# Lengths of the sides of the box along its x, y and z axes, in meters.
- Attribute:
Can be read or written
-
rotation:
Tuple# Rotation of the box, as a quaternion.
- Attribute:
Can be read or written
-
reference_frame:
SpaceCenter.ReferenceFrame# Reference frame for the position and rotation of the box.
- Attribute:
Can be read or written
-
visible:
boolean# Whether the object is visible.
- Attribute:
Can be read or written
-
color:
StdLib.ColorRGB# The color of the edges.
- Attribute:
Can be read or written
-
thickness:
number# The thickness of the edges.
- Attribute:
Can be read or written
-
material:
string# Material used to render the object. Creates the material from a shader with the given name.
- Attribute:
Can be read or written
- remove()#
Remove the object.
-
center: