Humanoid Control for Unity v4
Public Types | Public Member Functions | Public Attributes | Properties | List of all members
Passer.Tracking.Tracker Class Reference

Description

A tracker

Inheritance diagram for Passer.Tracking.Tracker:
Passer.Humanoid.HumanoidTracker Passer.Humanoid.CustomTracker Passer.Humanoid.LeapTracker Passer.Humanoid.UnityXRTracker Passer.Humanoid.NeuronTracker

Public Types

enum  Status { Unavailable , Present , Tracking }
 The tracking status More...
 

Public Member Functions

virtual void StartTracker ()
 Optional list of SubTrackers More...
 
virtual void StopTracker ()
 Stop the tracker More...
 
virtual void UpdateTracker ()
 Update the tracker state More...
 
virtual void ShowTracker (bool shown)
 Show or hide the Tracker renderers More...
 
virtual void Calibrate ()
 Calibrate the tracker More...
 
virtual void AdjustTracking (Vector3 positionalDelta, Quaternion rotationalDelta)
 Adjust the position of the tracker by the given delat More...
 

Public Attributes

bool enabled
 Is this tracker enabled?
 
Status status
 The tracking Status of the tracker
 
TrackerComponent trackerComponent
 The tracking device
 

Properties

virtual string name [get]
 The name of this tracker
 

Member Enumeration Documentation

◆ Status

The tracking status

Enumerator
Unavailable 

The tracking device is not available.

Present 

The tracking device is available but not tracking.

Tracking 

The tracking device is actively tracking.

Member Function Documentation

◆ StartTracker()

virtual void Passer.Tracking.Tracker.StartTracker ( )
virtual

Optional list of SubTrackers

Start the tracker

◆ StopTracker()

virtual void Passer.Tracking.Tracker.StopTracker ( )
virtual

Stop the tracker

Reimplemented in Passer.Humanoid.LeapTracker.

◆ UpdateTracker()

virtual void Passer.Tracking.Tracker.UpdateTracker ( )
virtual

◆ ShowTracker()

virtual void Passer.Tracking.Tracker.ShowTracker ( bool  shown)
virtual

Show or hide the Tracker renderers

Parameters
shownRenderers are enabled when shown == true

◆ Calibrate()

virtual void Passer.Tracking.Tracker.Calibrate ( )
virtual

Calibrate the tracker

Reimplemented in Passer.Humanoid.UnityXRTracker.

◆ AdjustTracking()

virtual void Passer.Tracking.Tracker.AdjustTracking ( Vector3  positionalDelta,
Quaternion  rotationalDelta 
)
virtual

Adjust the position of the tracker by the given delat

Parameters
positionalDeltaThe positional delta to apply
rotationalDeltaThe rotational delta to apply

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