Line¶
-
class Line¶
A line. Created using
add_line()
.-
std::tuple<double, double, double> start()¶
-
void set_start(std::tuple<double, double, double> value)¶
Start position of the line.
- Game Scenes:
Flight
-
std::tuple<double, double, double> end()¶
-
void set_end(std::tuple<double, double, double> value)¶
End position of the line.
- Game Scenes:
Flight
-
SpaceCenter::ReferenceFrame reference_frame()¶
-
void set_reference_frame(SpaceCenter::ReferenceFrame value)¶
Reference frame for the positions of the object.
- Game Scenes:
Flight
-
bool visible()¶
-
void set_visible(bool value)¶
Whether the object is visible.
- Game Scenes:
Flight
-
std::tuple<double, double, double> color()¶
-
void set_color(std::tuple<double, double, double> value)¶
Set the color
- Game Scenes:
Flight
-
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
-
float thickness()¶
-
void set_thickness(float value)¶
Set the thickness
- Game Scenes:
Flight
-
void remove()¶
Remove the object.
- Game Scenes:
Flight
-
std::tuple<double, double, double> start()¶