Humanoid Control for Unity v4
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
Passer.Tracking.BodySkeleton Class Referenceabstract

Description

The representation of a tracked body.

The bone hierarchy will be created below this transform at runtime.

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

Public Member Functions

Transform GetBoneTransform (Humanoid.Tracking.Bone boneId)
 Gets the transform of the tracked bone.
 
TrackedBone GetBone (Humanoid.Tracking.Bone boneId)
 Gets the tracked bone.
 
virtual void ShowSkeleton (bool shown)
 

Public Attributes

bool show = false
 Determines whether the skeleton should be rendered.
 
Tracker.Status status
 The status of the tracking device.
 

Protected Member Functions

void InitializeSkeleton ()
 This function is used to intialize the tracked bones.
 
void UpdateSkeletonRender ()
 Updates the rendering of the bones.
 
void EnableRenderer ()
 
void DisableRenderer ()
 
virtual void Start ()
 
virtual void Update ()
 

Protected Attributes

List< TrackedBone > bones
 The list of tracked bones.
 
bool rendered
 
Transform realWorld
 

Member Function Documentation

◆ GetBoneTransform()

Transform Passer.Tracking.BodySkeleton.GetBoneTransform ( Humanoid::Tracking::Bone  boneId)

Gets the transform of the tracked bone.

Parameters
boneIdThe requested bone
Returns
The tracked bone transform or null if it does not exist

◆ GetBone()

TrackedBone Passer.Tracking.BodySkeleton.GetBone ( Humanoid::Tracking::Bone  boneId)

Gets the tracked bone.

Parameters
boneIdThe requested bone
Returns
The tracked bone or null if it does not exist

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