Point#
- class Drawing.Point()#
A point, drawn as a dot that keeps its size on screen. Created using
Drawing.addPoint().- Point.getPosition()#
- Point.setPosition(value)#
Position of the point.
- Property:
Can be read or written
- Return type:
[number, number, number]- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- Point.getReferenceFrame()#
- Point.setReferenceFrame(value)#
Reference frame for the positions of the object.
- Property:
Can be read or written
- Return type:
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- Point.getVisible()#
- Point.setVisible(value)#
Whether the object is visible.
- Property:
Can be read or written
- Return type:
boolean- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- Point.getColor()#
- Point.setColor(value)#
The color of the object.
- Property:
Can be read or written
- Return type:
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- Point.getSize()#
- Point.setSize(value)#
Diameter of the point, in pixels.
- Property:
Can be read or written
- Return type:
number- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- Point.getMaterial()#
- Point.setMaterial(value)#
Material used to render the object. Creates the material from a shader with the given name.
- Property:
Can be read or written
- Return type:
string- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- Point.remove()#
Remove the object.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph