class MAGES::Recorder::PositionChangeEvent¶
Overview¶
An event that captures a change in position. More…
class PositionChangeEvent: public MAGES::Recorder::ICapturedEvent { public: // properties double CreateTime; double CaptureTime; long CreateFrame; string Path; Vector3 Position; bool IsLocal; // methods PositionChangeEvent( string path, Vector3 position, long frameCount, double captureTime, bool isLocal = false ); };
Inherited Members¶
public: // properties long CreateFrame; double CreateTime; double CaptureTime;
Detailed Documentation¶
An event that captures a change in position.
Properties¶
double CreateTime
Gets the estimated time (wall-clock time) when the event was created (NOT captured).
double CaptureTime
Gets the estimated time (wall-clock time) when the event was captured.
long CreateFrame
Gets the frame the event was captured on.
string Path
Gets the path of the gameobject.
Vector3 Position
Gets the new position.
bool IsLocal
Gets a value indicating whether the event was captured locally.
Methods¶
PositionChangeEvent( string path, Vector3 position, long frameCount, double captureTime, bool isLocal = false )
Initializes a new instance of the PositionChangeEvent class.
Parameters:
path |
The path of the GameObject. |
position |
The new position. |
frameCount |
The frame count. |
captureTime |
The capture time. |
isLocal |
A value indicating whether the position is local. |