Tanoda
IXRControllerTrackingProvider.cs
Go to the documentation of this file.
1/******************************************************************************
2 * Copyright (C) Ultraleap, Inc. 2011-2020. *
3 * *
4 * Use subject to the terms of the Apache License 2.0 available at *
5 * http://www.apache.org/licenses/LICENSE-2.0, or another agreement *
6 * between Ultraleap and you, your company or other organization. *
7 ******************************************************************************/
8
9using System;
10using System.Collections;
11using System.Collections.Generic;
12using UnityEngine;
13
14namespace Leap.Unity.Interaction {
15
25
30 bool isTracked { get; }
31
39 event Action<Vector3, Quaternion> OnTrackingDataUpdate;
40
41 }
42
43}
The interface for providing tracking data to an InteractionVRController.
Action< Vector3, Quaternion > OnTrackingDataUpdate
An event that is fired whenever new tracking data is available for this controller.
bool isTracked
Gets whether or not this provider is currently tracking the controller for which it provides data.