PICO Unity XR SDK
Unity.XR.PXR Namespace Reference

Classes

struct  HandAimState
 The data about the poses of ray and fingers. More...
 
struct  HandJointLocation
 The data about the location of hand joint. More...
 
struct  HandJointLocations
 The data about hand tracking. More...
 
struct  Posef
 The location of hand joint. More...
 
class  PXR_Boundary
 
class  PXR_Enterprise
 
class  PXR_EyeTracking
 
class  PXR_FoveationRendering
 
class  PXR_HandTracking
 
class  PXR_Input
 
class  PXR_LateLatching
 
class  PXR_OverLay
 
class  PXR_ScreenFade
 
class  PXR_System
 
struct  Quatf
 
struct  Vector3f
 

Enumerations

enum  HandType { HandLeft = 0 , HandRight = 1 }
 
enum  ActiveInputDevice { HeadActive = 0 , ControllerActive = 1 , HandTrackingActive = 2 }
 The current active input device. More...
 
enum  HandAimStatus : ulong {
  AimComputed = 0x00000001 , AimRayValid = 0x00000002 ,
, AimRayTouched = 0x00000200
}
 The status of ray and fingers. More...
 
enum  HandLocationStatus : ulong { OrientationValid = 0x00000001 , PositionValid = 0x00000002 , OrientationTracked = 0x00000004 , PositionTracked = 0x00000008 }
 The data about the status of hand joint location. More...
 
enum  HandJoint {
  JointPalm = 0 , JointWrist = 1 , JointThumbMetacarpal = 2 , JointThumbProximal = 3 ,
  JointThumbDistal = 4 , JointThumbTip = 5 , JointIndexMetacarpal = 6 , JointIndexProximal = 7 ,
  JointIndexIntermediate = 8 , JointIndexDistal = 9 , JointIndexTip = 10 , JointMiddleMetacarpal = 11 ,
  JointMiddleProximal = 12 , JointMiddleIntermediate = 13 , JointMiddleDistal = 14 , JointMiddleTip = 15 ,
  JointRingMetacarpal = 16 , JointRingProximal = 17 , JointRingIntermediate = 18 , JointRingDistal = 19 ,
  JointRingTip = 20 , JointLittleMetacarpal = 21 , JointLittleProximal = 22 , JointLittleIntermediate = 23 ,
  JointLittleDistal = 24 , JointLittleTip = 25 , JointMax = 26
}
 
enum  HandFinger {
  Thumb = 0 , Index = 1 , Middle = 2 , Ring = 3 ,
  Pinky = 4
}
 

Functions

delegate void InputDeviceChangedCallBack (int value)
 A callback function that notifies the change of input device.
 
delegate void SeethroughStateChangedCallBack (int value)
 A callback function that notifies the change of seethrough state.
 
delegate void FitnessBandNumberOfConnectionsCallBack (int state, int value)
 A callback function that notifies the current connection status of PICO Motion Tracker and the number of motion trackers connected. For connection status, 0 indicates "disconnected" and 1 indicates "connected".
 
delegate void FitnessBandAbnormalCalibrationDataCallBack (int state, int value)
 A callback function that notifies calibration exceptions. The user then needs to recalibrate with PICO Motion Tracker.
 
delegate void FitnessBandElectricQuantityCallBack (int trackerID, int battery)
 A callback function that notifies the battery of PICO Motion Traker. Value range: [0,5]. 0 indicates a low battery, which can affect the tracking accuracy.
 

Enumeration Type Documentation

◆ ActiveInputDevice

The current active input device.

Enumerator
HeadActive 

HMD

ControllerActive 

Controllers

HandTrackingActive 

Hands

◆ HandAimStatus

enum HandAimStatus : ulong

The status of ray and fingers.

Enumerator
AimComputed 

Whether the data is valid.

AimRayValid 

Whether the ray appears.

AimRayTouched 

Whether the ray touches.

◆ HandLocationStatus

enum HandLocationStatus : ulong

The data about the status of hand joint location.

Enumerator
OrientationValid 

Whether the joint's orientation is valid.

PositionValid 

Whether the joint's position is valid.

OrientationTracked 

Whether the joint's orientation is being tracked.

PositionTracked 

Whether the joint's position is being tracked.