![]() |
Humanoid Control for Unity v4
|
Component to receive tracking information from Axis Neuron
Public Member Functions | |
Transform | GetBoneTransform (Humanoid.Tracking.Bone boneId) |
Gets the transform of the tracked bone More... | |
TrackedBone | GetBone (Humanoid.Tracking.Bone boneId) |
Gets the tracked bone More... | |
virtual void | ShowSkeleton (bool shown) |
Static Public Member Functions | |
static PerceptionNeuron | Find (Transform parentTransform) |
Find a Perception Neuron tracker More... | |
static PerceptionNeuron | Get (Transform parentTransform, Vector3 localPosition, Quaternion localRotation) |
Create a new Perception Neuron Tracker | |
Public Attributes | |
string | ipAddress = "127.0.0.1" |
The ip adress on which Axis Neuron is running | |
int | port = 7001 |
The port on which Axis Neuron is broadcasting the tracking data. | |
bool | show = false |
Determines whether the skeleton should be rendered | |
Tracker.Status | status |
The status of the tracking device | |
Protected Member Functions | |
override void | Start () |
override void | InitializeSkeleton () |
This function is used to intialize the tracked bones. More... | |
void | InitializeBone (Bone boneId, Transform parent, bool addRenderer=true) |
void | OnDisable () |
override void | Update () |
void | UpdateSkeletonBones () |
void | UpdateTorso () |
void | UpdateLeftArm () |
void | UpdateRightArm () |
void | UpdateLeftLeg () |
void | UpdateRightLeg () |
void | UpdateBonePosition (Bone boneId) |
void | UpdateBoneLocalPosition (Bone boneId) |
void | UpdateBoneRotation (Bone boneId) |
void | UpdateBoneRotation (Bone boneId, Side side, SideBone sideBoneId) |
void | UpdateBoneLocalPosition (Bone boneId, Side side, SideBone sideBoneId) |
void | UpdateSkeletonRender () |
Updates the rendering of the bones | |
void | EnableRenderer () |
void | DisableRenderer () |
Protected Attributes | |
List< TrackedBone > | bones |
The list of tracked bones | |
bool | rendered |
Transform | realWorld |
|
static |
Find a Perception Neuron tracker
parentTransform | The parent transform of the tracker |
|
protectedvirtual |
Reimplemented from Passer.Tracking.TrackerComponent.
|
protectedvirtual |
This function is used to intialize the tracked bones.
Implements Passer.Tracking.BodySkeleton.
|
protectedvirtual |
Reimplemented from Passer.Tracking.TrackerComponent.
|
inherited |
Gets the transform of the tracked bone
boneId | The requested bone |
|
inherited |
Gets the tracked bone
boneId | The requested bone |