Arc#
- class Drawing.Arc()#
An arc of a circle. Created using
Drawing.addArc().- Arc.getCenter()#
- Arc.setCenter(value)#
Position of the center of the arc.
- Property:
Can be read or written
- Return type:
[number, number, number]- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- Arc.getNormal()#
- Arc.setNormal(value)#
Normal of the plane of the arc.
- Property:
Can be read or written
- Return type:
[number, number, number]- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- Arc.getStartDirection()#
- Arc.setStartDirection(value)#
Direction from the center to the start of the arc.
- Property:
Can be read or written
- Return type:
[number, number, number]- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- Arc.getAngle()#
- Arc.setAngle(value)#
Angle of the arc, in radians.
- Property:
Can be read or written
- Return type:
number- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- Arc.getRadius()#
- Arc.setRadius(value)#
Radius of the arc, in meters.
- Property:
Can be read or written
- Return type:
number- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- Arc.getReferenceFrame()#
- Arc.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
- Arc.getVisible()#
- Arc.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
- Arc.getColor()#
- Arc.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.
- Arc.getColors()#
- Arc.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.
- Arc.getThickness()#
- Arc.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
- Arc.getStartArrow()#
- Arc.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
- Arc.getEndArrow()#
- Arc.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
- Arc.getArrowSize()#
- Arc.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
- Arc.getDashed()#
- Arc.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
- Arc.getLabel()#
- Arc.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
- Arc.getMaterial()#
- Arc.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
- Arc.remove()#
Remove the object.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph