struct MAGES::Interaction::TrackedDeviceModel

Overview

A tracked device model. More…

struct TrackedDeviceModel
{
    // structs

    struct ButtonState;

    // fields

    ButtonState SelectButton;
    List HoveredObjects;
    Vector3 TrackedDevicePosition;
    Quaternion TrackedDeviceRotation;
    float RayLength;
    Vector2 Position;

    // properties

    int PointerId;

    // methods

    TrackedDeviceModel(int pointerId);
};

Detailed Documentation

A tracked device model.

Fields

ButtonState SelectButton

The select button state.

List HoveredObjects

The hovered objects.

Vector3 TrackedDevicePosition

The tracked device position.

Quaternion TrackedDeviceRotation

The tracked device rotation.

float RayLength

The ray length.

Vector2 Position

The screen position.

Properties

int PointerId

Gets the pointer Id.

Methods

TrackedDeviceModel(int pointerId)

Initializes a new instance of the TrackedDeviceModel struct.

Parameters:

pointerId

The pointer id.