Gravity Engine 2 8.0
Loading...
Searching...
No Matches
GravityEngine2.GSDisplayOnRailsPath Class Reference

Display the path of a body on a rails. The time to display can be from the current time or a specific time. More...

Inheritance diagram for GravityEngine2.GSDisplayOnRailsPath:
GravityEngine2.GSDisplayObject

Public Types

enum  Mode { RELATIVE , ABSOLUTE }
 

Public Member Functions

override void AddToSceneDisplay (GSDisplay gsd)
 
void DisplayOrbit (GECore ge, GSDisplay.MapToSceneFn mapToScene, double t_now, bool alwaysUpdate=false, bool maintainCoRo=false)
 
- Public Member Functions inherited from GravityEngine2.GSDisplayObject
void AddToSceneDisplay (GSDisplay gsd)
 
bool DisplayEnabled ()
 
virtual void DisplayEnabledSet (bool value)
 
int DisplayId ()
 
void DisplayIdSet (int id)
 
GSDisplay GSDisplay ()
 

Public Attributes

GSDisplayBody bodyToDisplay
 
double durationWorldTime = 100
 
LineRenderer lineR
 
Mode mode = Mode.RELATIVE
 
int numPoints = 250
 
double startWorldTime = -1
 
- Public Attributes inherited from GravityEngine2.GSDisplayObject
int framesBetweenUpdates = 0
 

Additional Inherited Members

- Protected Attributes inherited from GravityEngine2.GSDisplayObject
bool displayEnabled = true
 
int displayId = -1
 
int framesUntilUpdate = 0
 countdown until this display object shold update
 
GSDisplay gsd
 

Detailed Description

Display the path of a body on a rails. The time to display can be from the current time or a specific time.

If the current time is earlier than the start time then nothing will be displayed.


The documentation for this class was generated from the following file: