Humanoid Control for Unity v4
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Properties | List of all members
Passer.Humanoid.HumanoidTarget Class Referenceabstract

Description

A tracking transform for humanoids

Inheritance diagram for Passer.Humanoid.HumanoidTarget:
Passer.Target Passer.Humanoid.FootTarget Passer.Humanoid.HandTarget Passer.Humanoid.HeadTarget Passer.Humanoid.HipsTarget

Public Member Functions

abstract Transform GetDefaultTarget (HumanoidControl humanoid)
 
abstract void InitAvatar ()
 
virtual void NewComponent (HumanoidControl _humanoid)
 
void OnDrawGizmos ()
 
void OnDrawGizmosSelected ()
 
virtual void DrawTensions ()
 
abstract void UpdateMovements (HumanoidControl humanoid)
 
abstract void MatchTargetsToAvatar ()
 
abstract void CopyTargetToRig ()
 
abstract void CopyRigToTarget ()
 
virtual void InitComponent ()
 
abstract void StartTarget ()
 
abstract void InitSensors ()
 
virtual void StartSensors ()
 
virtual void StopSensors ()
 
abstract void InitializeTrackingConfidence ()
 Sets the tracking confidence before all tracking information is updated More...
 
abstract void UpdateTarget ()
 

Static Public Member Functions

static Vector ToVector (Vector3 vector3)
 
static Vector3 ToVector3 (Vector position)
 
static Rotation ToRotation (Quaternion quaternion)
 
static Quaternion ToQuaternion (Rotation orientation)
 
static void SetRotation (Transform transform, Rotation orientation)
 
static void DrawTarget (Confidence confidence, Transform target, Vector3 direction, float length)
 
static void DrawTargetBone (TargetedBone bone, Vector3 direction)
 
static void DrawTargetBone (TargetTransform target, Vector3 direction)
 
static void DrawAvatarBone (TargetedBone bone, Vector3 direction)
 
static void DrawAvatarBone (BoneTransform bone, Vector3 direction)
 
static void GetDefaultBone (Animator rig, ref Transform boneTransform, Bone boneId, params string[] boneNames)
 
static void GetDefaultBone (Animator rig, ref Transform boneTransform, HumanBodyBones boneID, params string[] boneNames)
 
static void GetDefaultTargetBone (Animator rig, ref Transform boneTransform, Bone boneID, params string[] boneNames)
 
static void GetDefaultBone (Animator rig, ref Transform boneTransform, params string[] boneNames)
 
static List< Collider > SetColliderToTrigger (GameObject obj)
 
static List< Collider > SetColliderToTrigger (Rigidbody rb)
 
static void UnsetColliderToTrigger (List< Collider > colliders)
 
static void UnsetColliderToTrigger (List< Collider > colliders, Collider collider)
 

Public Attributes

HumanoidControl humanoid
 

Protected Member Functions

virtual void DrawTargetRig (HumanoidControl humanoid)
 
virtual void DrawAvatarRig (HumanoidControl humanoid)
 
virtual void DrawTensionGizmo (TargetedBone targetedBone)
 
virtual void UpdateSensors ()
 

Protected Attributes

bool _showRealObjects = true
 

Properties

abstract TargetedBone main [get]
 
abstract Sensor animator [get]
 
virtual bool showRealObjects [getset]
 show the target meshes
 

Member Function Documentation

◆ DrawTargetRig()

virtual void Passer.Humanoid.HumanoidTarget.DrawTargetRig ( HumanoidControl  humanoid)
protectedvirtual

Reimplemented in Passer.Humanoid.HeadTarget.

◆ DrawAvatarRig()

virtual void Passer.Humanoid.HumanoidTarget.DrawAvatarRig ( HumanoidControl  humanoid)
protectedvirtual

Reimplemented in Passer.Humanoid.HeadTarget.

◆ UpdateMovements()

abstract void Passer.Humanoid.HumanoidTarget.UpdateMovements ( HumanoidControl  humanoid)
pure virtual

Implemented in Passer.Humanoid.HeadTarget.

◆ CopyTargetToRig()

abstract void Passer.Humanoid.HumanoidTarget.CopyTargetToRig ( )
pure virtual

Implemented in Passer.Humanoid.HeadTarget.

◆ CopyRigToTarget()

abstract void Passer.Humanoid.HumanoidTarget.CopyRigToTarget ( )
pure virtual

Implemented in Passer.Humanoid.HeadTarget.

◆ InitializeTrackingConfidence()

abstract void Passer.Target.InitializeTrackingConfidence ( )
pure virtualinherited

Sets the tracking confidence before all tracking information is updated

Implemented in Passer.Humanoid.FootTarget, Passer.Humanoid.HandTarget, Passer.Humanoid.HeadTarget, and Passer.Humanoid.HipsTarget.

◆ UpdateTarget()

abstract void Passer.Target.UpdateTarget ( )
pure virtualinherited

Implemented in Passer.Humanoid.HeadTarget.


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