Humanoid Control for Unity v4
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Properties | List of all members
Passer.Tracking.Oculus Class Reference

Description

The Oculus Device.

Inheritance diagram for Passer.Tracking.Oculus:
Passer.Tracking.TrackerComponent

Public Member Functions

HandSkeleton FindHandTrackingSkeleton (bool isLeft)
 
override void ShowSkeleton (bool shown)
 
OculusHmd GetHmd (Vector3 position, Quaternion rotation)
 
OculusController FindController (bool isLeft)
 Find an OpenVR Controller.
 
OculusController GetController (bool isLeft, Vector3 position, Quaternion rotation)
 

Static Public Member Functions

static Oculus Find (Transform parentTransform)
 Find an Oculus tracker.
 
static Oculus Get (Transform parentTransform, Vector3 position, Quaternion rotation)
 Find or create a new SteamVR tracker.
 

Public Attributes

bool persistentTracking
 
RealWorldConfiguration realWorldConfiguration
 
Tracker.Status status
 The status of the tracking device.
 

Protected Member Functions

override void Start ()
 
virtual void Update ()
 

Static Protected Member Functions

static void AddScreenFader (Camera camera)
 

Protected Attributes

OculusHmd _hmd
 
Transform realWorld
 

Properties

HandSkeleton leftHandSkeleton [get]
 
HandSkeleton rightHandSkeleton [get]
 
OculusHmd hmd [get]
 

Member Function Documentation

◆ ShowSkeleton()

override void Passer.Tracking.Oculus.ShowSkeleton ( bool  shown)
virtual

Reimplemented from Passer.Tracking.TrackerComponent.

◆ Find()

static Oculus Passer.Tracking.Oculus.Find ( Transform  parentTransform)
static

Find an Oculus tracker.

Parameters
parentTransformThe parent transform of the tracker
Returns
The tracker

◆ Get()

static Oculus Passer.Tracking.Oculus.Get ( Transform  parentTransform,
Vector3  position,
Quaternion  rotation 
)
static

Find or create a new SteamVR tracker.

Parameters
parentTransformThe parent transform for the tracker
positionThe world position of the tracker
rotationThe world rotation of the tracker
Returns
The tracker

◆ FindController()

OculusController Passer.Tracking.Oculus.FindController ( bool  isLeft)

Find an OpenVR Controller.

Parameters
isLeftLooking for the left-handed controller?
Returns
The controller or null when it has not been found

◆ Start()

override void Passer.Tracking.Oculus.Start ( )
protectedvirtual

Reimplemented from Passer.Tracking.TrackerComponent.


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