Gravity Engine 12.0
Unity Asset for Gravity
|
Support for rewind in GE. More...
Classes | |
class | RewindEntry |
Public Types | |
enum | RewindType { IMPULSE_ORBITU , POS_VEL , VELOCITY , MANEUVER , ADD , REMOVE , OFF_RAILS } |
Public Member Functions | |
delegate bool | RewindCallback (RewindEntry rewindEntry) |
Callback for rewind event. | |
void | SetRewindCallback (RewindCallback rewindCallback) |
void | RecordImpulse (NBody nbody, OrbitUniversal orbitU, double time) |
void | RecordVelocityChange (GravityState gs, NBody nbody, Vector3d vel, double time) |
void | RecordPositionVelocityChange (GravityState gs, NBody nbody, double time) |
void | RecordManeuver (GravityState gs, Maneuver m, double time) |
void | RecordAddBody (NBody nbody, double time) |
void | RecordBodyOffRails (NBody nbody, double time) |
void | RecordRemoveBody (GravityState gs, NBody nbody, double time) |
List< RewindEntry > | EntriesAfter (double t) |
void | ApplyEvent (GravityState gs, RewindEntry re) |
bool | HaveEntries () |
string | DumpAll () |
Support for rewind in GE.
Used when the GE flag rewindModeEnabled is true
delegate bool GERewindMgr.RewindCallback | ( | RewindEntry | rewindEntry | ) |
Callback for rewind event.
rewindEntry |