class MAGES::Interaction::UI::TrackedDeviceEventData¶
Overview¶
Tracked device event data. More…
class TrackedDeviceEventData: public PointerEventData { public: // properties int PointerId; Vector3 TrackedDevicePosition; Quaternion TrackedDeviceRotation; TrackedDeviceModel.TrackedDeviceUIInteractionMode InteractionMode; float Distance; // 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.
TrackedDeviceModel.TrackedDeviceUIInteractionMode InteractionMode
Gets or sets the type of raycasting the tracking device casts.
float Distance
Gets or sets the interaction distance.
Methods¶
TrackedDeviceEventData(EventSystem eventSystem)
Initializes a new instance of the TrackedDeviceEventData class.
Parameters:
eventSystem |
The event system for this data. |