space_ex v0.8.0 SpaceEx.Drawing.Polygon
A polygon.
Created using SpaceEx.Drawing.add_polygon/4.
Link to this section Summary
Functions
Set the color
Material used to render the object
Reference frame for the positions of the object
Remove the object
Set the color
Material used to render the object
Reference frame for the positions of the object
Set the thickness
Vertices for the polygon
Whether the object is visible
Set the thickness
Vertices for the polygon
Whether the object is visible
Link to this section Functions
Set the color
Returns: {double, double, double}, where double is a high precision decimal
Material used to render the object.
Creates the material from a shader with the given name.
Returns: a string
Reference frame for the positions of the object.
Returns: a reference to a SpaceEx.SpaceCenter.ReferenceFrame object
Remove the object.
Returns: :ok
Set the color
Returns: :ok
Material used to render the object.
Creates the material from a shader with the given name.
Returns: :ok
Reference frame for the positions of the object.
Returns: :ok
Set the thickness
Returns: :ok
Vertices for the polygon.
Returns: :ok
Whether the object is visible.
Returns: :ok
Set the thickness
Returns: a low-precision decimal
Vertices for the polygon.
Returns: [{double, double, double}, ...], where double is a high precision decimal
Whether the object is visible.
Returns: true or false