class MAGES::Interaction::TrackedDeviceEventData

Overview

Tracked device event data. More…

class TrackedDeviceEventData: public PointerEventData
{
public:
    // properties

    int PointerId;
    Vector3 TrackedDevicePosition;
    Quaternion TrackedDeviceRotation;
    float RayLength;

    // methods

    TrackedDeviceEventData(EventSystem eventSystem);
};

Detailed Documentation

Tracked device event data.

Properties

int PointerId

Gets the pointer Id.

Vector3 TrackedDevicePosition

Gets or sets the tracked device position.

Quaternion TrackedDeviceRotation

Gets or sets the tracked device rotation.

float RayLength

Gets or sets the length of the ray.

Methods

TrackedDeviceEventData(EventSystem eventSystem)

Initializes a new instance of the TrackedDeviceEventData class.

Parameters:

eventSystem

The event system for this data.