class MAGES::Recorder::GameObjectSpawnEvent¶
Overview¶
Represents an event regarding the spawning of a GameObject. More…
class GameObjectSpawnEvent: public MAGES::Recorder::ICapturedEvent { public: // properties double CreateTime; double CaptureTime; long CreateFrame; string ResourceRelativePath; string TransformParentPath; bool IsUnique; // methods GameObjectSpawnEvent( GameObjectSpawner.SpawnParams spawnParams, long frameCount, double captureTime ); };
Inherited Members¶
public: // properties long CreateFrame; double CreateTime; double CaptureTime;
Detailed Documentation¶
Represents an event regarding the spawning of a GameObject.
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 ResourceRelativePath
Gets the relative path to the resource that was spawned.
string TransformParentPath
Gets the path to the transform parent for the spawned object (if any).
bool IsUnique
Gets a value indicating whether the event is unique.
Methods¶
GameObjectSpawnEvent( GameObjectSpawner.SpawnParams spawnParams, long frameCount, double captureTime )
Initializes a new instance of the GameObjectSpawnEvent class.
Parameters:
spawnParams |
The spawn params used for this object. |
frameCount |
The frame counter. |
captureTime |
The capture time of this event. |