class MAGES::Recorder::SceneGraphEvent

Overview

Represents an event regarding an action’s state change in the scene graph. More…

class SceneGraphEvent: public MAGES::Recorder::ICapturedEvent
{
public:
    // enums

    enum SceneGraphEventType;

    // properties

    double CreateTime;
    double CaptureTime;
    long CreateFrame;
    string ID;
    SceneGraphEventType Type;
    bool Skipped;

    // methods

    SceneGraphEvent(
        string id,
        SceneGraphEventType type,
        long frameCount,
        double captureTime,
        bool skipped = false
    );
};

Inherited Members

public:
    // properties

    long CreateFrame;
    double CreateTime;
    double CaptureTime;

Detailed Documentation

Represents an event regarding an action’s state change in the scene graph.

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 ID

Gets the BaseActionData.ID.

SceneGraphEventType Type

Gets the type of event.

bool Skipped

Gets a value indicating whether the action was skipped.

Methods

SceneGraphEvent(
    string id,
    SceneGraphEventType type,
    long frameCount,
    double captureTime,
    bool skipped = false
)

Initializes a new instance of the SceneGraphEvent class.

Parameters:

id

The action id.

type

The type of event.

frameCount

The frame counter.

captureTime

The capture time.

skipped

Whether the action was skipped.