Box#
- class Drawing.Box()#
The edges of a box. Created using
Drawing.addBox().Base class:Drawing.DrawableInherited Members
- Box.getCenter()#
- Box.setCenter(value)#
Position of the center of the box.
- Property:
Can be read or written
- Return type:
[number, number, number]- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- Box.getSize()#
- Box.setSize(value)#
Lengths of the sides of the box along its x, y and z axes, in meters.
- Property:
Can be read or written
- Return type:
[number, number, number]- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- Box.getRotation()#
- Box.setRotation(value)#
Rotation of the box, as a quaternion.
- Property:
Can be read or written
- Return type:
[number, number, number, number]- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph