Box#
-
class Box#
The edges of a box. Created using
add_box().-
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
-
bool visible()#
-
void set_visible(bool value)#
Whether the object is visible.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
-
void set_color(StdLib::ColorRGB value)#
The color of the edges.
- 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
-
std::string material()#
-
void set_material(std::string value)#
Material used to render the object. Creates the material from a shader with the given name.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
-
void remove()#
Remove the object.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
-
std::tuple<double, double, double> center()#