Polygon¶
- class Drawing.Polygon¶
A polygon. Created using
Drawing.add_polygon()
.- vertices: List¶
Vertices for the polygon.
- Attribute:
Can be read or written
- Return type:
List
- reference_frame: SpaceCenter.ReferenceFrame¶
Reference frame for the positions of the object.
- Attribute:
Can be read or written
- Return type:
- visible: boolean¶
Whether the object is visible.
- Attribute:
Can be read or written
- Return type:
boolean
- remove()¶
Remove the object.
- color: Tuple¶
Set the color
- Attribute:
Can be read or written
- Return type:
Tuple
- material: string¶
Material used to render the object. Creates the material from a shader with the given name.
- Attribute:
Can be read or written
- Return type:
string
- thickness: number¶
Set the thickness
- Attribute:
Can be read or written
- Return type:
number