OrbitPath#
- class Drawing.OrbitPath()#
The path of an orbit. Created using
Drawing.addOrbit().- OrbitPath.getOrbit()#
- OrbitPath.setOrbit(value)#
The orbit.
- Property:
Can be read or written
- Return type:
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- OrbitPath.getWholeOrbit()#
- OrbitPath.setWholeOrbit(value)#
Whether the whole orbit is drawn, up to where it leaves the sphere of influence of its body. When false, the orbit is drawn from
Drawing.OrbitPath.getStartTrueAnomaly()toDrawing.OrbitPath.getEndTrueAnomaly().- Property:
Can be read or written
- Return type:
boolean- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- OrbitPath.getStartTrueAnomaly()#
- OrbitPath.setStartTrueAnomaly(value)#
The true anomaly at which the path starts, in radians.
- Property:
Can be read or written
- Return type:
number- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
Note
Setting this sets
Drawing.OrbitPath.getWholeOrbit()to false.
- OrbitPath.getEndTrueAnomaly()#
- OrbitPath.setEndTrueAnomaly(value)#
The true anomaly at which the path ends, in radians.
- Property:
Can be read or written
- Return type:
number- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
Note
Setting this sets
Drawing.OrbitPath.getWholeOrbit()to false.
- OrbitPath.getVisible()#
- OrbitPath.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
- OrbitPath.getColor()#
- OrbitPath.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.
- OrbitPath.getColors()#
- OrbitPath.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.
- OrbitPath.getThickness()#
- OrbitPath.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
- OrbitPath.getStartArrow()#
- OrbitPath.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
- OrbitPath.getEndArrow()#
- OrbitPath.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
- OrbitPath.getArrowSize()#
- OrbitPath.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
- OrbitPath.getDashed()#
- OrbitPath.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
- OrbitPath.getLabel()#
- OrbitPath.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
- OrbitPath.getMaterial()#
- OrbitPath.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
- OrbitPath.remove()#
Remove the object.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph