Box#

class Box#

The edges of a box. Created using add_box().

Base class: Drawable
std::tuple<double, double, double> center()#
void set_center(std::tuple<double, double, double> value)#

Position of the center of the box.

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

std::tuple<double, double, double> size()#
void set_size(std::tuple<double, double, double> value)#

Lengths of the sides of the box along its x, y and z axes, in meters.

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

std::tuple<double, double, double, double> rotation()#
void set_rotation(std::tuple<double, double, double, double> value)#

Rotation of the box, as a quaternion.

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

SpaceCenter::ReferenceFrame reference_frame()#
void set_reference_frame(SpaceCenter::ReferenceFrame value)#

Reference frame for the position and rotation of the box.

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

float thickness()#
void set_thickness(float value)#

The thickness of the edges.

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph