Point#

class Drawing.Point#

A point, drawn as a dot that keeps its size on screen. Created using Drawing.add_point().

position: Tuple#

Position of the point.

Attribute:

Can be read or written

Return type:

Tuple

reference_frame: SpaceCenter.ReferenceFrame#

Reference frame for the positions of the object.

Attribute:

Can be read or written

Return type:

SpaceCenter.ReferenceFrame

visible: boolean#

Whether the object is visible.

Attribute:

Can be read or written

Return type:

boolean

color: StdLib.ColorRGB#

The color of the object.

Attribute:

Can be read or written

Return type:

StdLib.ColorRGB

size: number#

Diameter of the point, in pixels.

Attribute:

Can be read or written

Return type:

number

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

remove()#

Remove the object.