Tanoda
Leap.Unity.Interaction.DefaultXRNodeTrackingProvider Class Reference

Implements IVRControllerTrackingProvider using Unity.XR.InputTracking for XRNodes. This tracking should support all native XR controller integrations in Unity, including Oculus Touch and HTC Vive. More...

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

Properties

bool isTracked [get]
 Gets whether or not this provider is currently tracking the controller for which it provides data. More...
 
VRNode xrNode [get, set]
 
- Properties inherited from Leap.Unity.Interaction.IXRControllerTrackingProvider
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 = (position, rotation) => { }
 
- Events inherited from Leap.Unity.Interaction.IXRControllerTrackingProvider
Action< Vector3, Quaternion > OnTrackingDataUpdate
 An event that is fired whenever new tracking data is available for this controller. More...
 

Detailed Description

Implements IVRControllerTrackingProvider using Unity.XR.InputTracking for XRNodes. This tracking should support all native XR controller integrations in Unity, including Oculus Touch and HTC Vive.

Definition at line 25 of file DefaultXRNodeTrackingProvider.cs.

Property Documentation

◆ isTracked

bool Leap.Unity.Interaction.DefaultXRNodeTrackingProvider.isTracked
get

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

Implements Leap.Unity.Interaction.IXRControllerTrackingProvider.

Definition at line 29 of file DefaultXRNodeTrackingProvider.cs.

◆ xrNode

VRNode Leap.Unity.Interaction.DefaultXRNodeTrackingProvider.xrNode
getset

Definition at line 40 of file DefaultXRNodeTrackingProvider.cs.

Event Documentation

◆ OnTrackingDataUpdate

Action<Vector3, Quaternion> Leap.Unity.Interaction.DefaultXRNodeTrackingProvider.OnTrackingDataUpdate = (position, rotation) => { }

Definition at line 46 of file DefaultXRNodeTrackingProvider.cs.


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