Box#

class Drawing.Box()#

The edges of a box. Created using Drawing.addBox().

Base class: Drawing.Drawable
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

Box.getReferenceFrame()#
Box.setReferenceFrame(value)#

Reference frame for the position and rotation of the box.

Property:

Can be read or written

Return type:

SpaceCenter.ReferenceFrame

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

Box.getThickness()#
Box.setThickness(value)#

The thickness of the edges.

Property:

Can be read or written

Return type:

number

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph