class MAGES::Recorder::RotationChangeEvent

Overview

An event that captures a change in rotation. More…

class RotationChangeEvent: public MAGES::Recorder::ICapturedEvent
{
public:
    // properties

    double CreateTime;
    double CaptureTime;
    long CreateFrame;
    string Path;
    Quaternion Rotation;
    bool IsLocal;

    // methods

    RotationChangeEvent(
        string path,
        Quaternion rotation,
        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 rotation.

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.

Quaternion Rotation

Gets the new rotation.

bool IsLocal

Gets a value indicating whether the event is local.

Methods

RotationChangeEvent(
    string path,
    Quaternion rotation,
    long frameCount,
    double captureTime,
    bool isLocal = false
)

Initializes a new instance of the RotationChangeEvent class.

Parameters:

path

The path of the GameObject.

rotation

The new position.

frameCount

The frame count.

captureTime

The capture time.

isLocal

A value indicating whether the rotation is local.