Circle#
- class Drawing.Circle()#
A circle. Created using
Drawing.addCircle().- Circle.getCenter()#
- Circle.setCenter(value)#
Position of the center of the circle.
- Property:
Can be read or written
- Return type:
[number, number, number]- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- Circle.getNormal()#
- Circle.setNormal(value)#
Normal of the plane of the circle.
- Property:
Can be read or written
- Return type:
[number, number, number]- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- Circle.getRadius()#
- Circle.setRadius(value)#
Radius of the circle, in meters.
- Property:
Can be read or written
- Return type:
number- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- Circle.getReferenceFrame()#
- Circle.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
- Circle.getVisible()#
- Circle.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
- Circle.getColor()#
- Circle.setColor(value)#
The color of the path.
- Property:
Can be read or written
- Return type:
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
Note
For a path drawn with more than one color, this is the color at its start.
- Circle.getColors()#
- Circle.setColors(value)#
The colors of the path, blended evenly from its start to its end.
- Property:
Can be read or written
- Return type:
ArrayofStdLib.ColorRGB- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
Note
Throws an exception if the list is empty or holds more than 8 colors.
- Circle.getThickness()#
- Circle.setThickness(value)#
The thickness of the path.
- Property:
Can be read or written
- Return type:
number- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- Circle.getStartArrow()#
- Circle.setStartArrow(value)#
Whether an arrow head is drawn at the start.
- Property:
Can be read or written
- Return type:
boolean- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- Circle.getEndArrow()#
- Circle.setEndArrow(value)#
Whether an arrow head is drawn at the end.
- Property:
Can be read or written
- Return type:
boolean- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- Circle.getArrowSize()#
- Circle.setArrowSize(value)#
The size of the arrow heads, relative to the thickness.
- Property:
Can be read or written
- Return type:
number- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- Circle.getDashed()#
- Circle.setDashed(value)#
Whether the path is drawn as a dashed line.
- Property:
Can be read or written
- Return type:
boolean- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- Circle.getLabel()#
- Circle.setLabel(value)#
Text drawn halfway along the path, facing the camera. Empty for no label.
- Property:
Can be read or written
- Return type:
string- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- Circle.getMaterial()#
- Circle.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
- Circle.remove()#
Remove the object.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph