Tanoda
Leap.Unity.Interaction.IXRControllerTrackingProvider Interface Reference

The interface for providing tracking data to an InteractionVRController. More...

Inheritance diagram for Leap.Unity.Interaction.IXRControllerTrackingProvider:
Leap.Unity.Interaction.DefaultXRNodeTrackingProvider

Properties

bool isTracked [get]
 Gets whether or not this provider is currently tracking the controller for which it provides data. More...
 

Events

Action< Vector3, Quaternion > OnTrackingDataUpdate
 An event that is fired whenever new tracking data is available for this controller. More...
 

Detailed Description

The interface for providing tracking data to an InteractionVRController.

It is recommended that tracking providers update their controllers' tracking data before the Interaction Manager runs every FixedUpdate to minimize latency.

For a reference implementation, refer to DefaultVRNodeTrackingProvider.

Definition at line 24 of file IXRControllerTrackingProvider.cs.

Property Documentation

◆ isTracked

bool Leap.Unity.Interaction.IXRControllerTrackingProvider.isTracked
get

Gets whether or not this provider is currently tracking the controller for which it provides data.

Implemented in Leap.Unity.Interaction.DefaultXRNodeTrackingProvider.

Definition at line 30 of file IXRControllerTrackingProvider.cs.

Event Documentation

◆ OnTrackingDataUpdate

Action<Vector3, Quaternion> Leap.Unity.Interaction.IXRControllerTrackingProvider.OnTrackingDataUpdate

An event that is fired whenever new tracking data is available for this controller.

It is recommended that tracking providers fire this event before the Interaction Manager runs every FixedUpdate to minimize latency.

Definition at line 39 of file IXRControllerTrackingProvider.cs.


The documentation for this interface was generated from the following file: