C# Class RootMotion.FinalIK.IKMappingLimb

Inheritance: RootMotion.FinalIK.IKMapping
Afficher le fichier Open project: Alx666/ProjectPhoenix Class Usage Examples

Méthodes publiques

Свойство Type Description
bone1 UnityEngine.Transform
bone2 UnityEngine.Transform
bone3 UnityEngine.Transform
parentBone UnityEngine.Transform

Méthodes publiques

Méthode Description
FixTransforms ( ) : void
GetBoneMap ( BoneMapType boneMap ) : BoneMap

Gets the bone map of the specified bone.

IKMappingLimb ( ) : UnityEngine
IKMappingLimb ( Transform bone1, Transform bone2, Transform bone3, Transform parentBone = null ) : UnityEngine
IsValid ( IKSolver solver, Warning logger = null ) : bool

Determines whether this IKMappingLimb is valid

ReadPose ( ) : void
SetBones ( Transform bone1, Transform bone2, Transform bone3, Transform parentBone = null ) : void
SetLimbOrientation ( Vector3 upper, Vector3 lower ) : void

Makes the limb mapped to the specific local directions of the bones. Added in 0.3

StoreDefaultLocalState ( ) : void
WritePose ( bool fullBody ) : void

Méthodes protégées

Méthode Description
OnInitiate ( ) : void

Method Details

FixTransforms() public méthode

public FixTransforms ( ) : void
Résultat void

GetBoneMap() public méthode

Gets the bone map of the specified bone.
public GetBoneMap ( BoneMapType boneMap ) : BoneMap
boneMap BoneMapType
Résultat BoneMap

IKMappingLimb() public méthode

public IKMappingLimb ( ) : UnityEngine
Résultat UnityEngine

IKMappingLimb() public méthode

public IKMappingLimb ( Transform bone1, Transform bone2, Transform bone3, Transform parentBone = null ) : UnityEngine
bone1 UnityEngine.Transform
bone2 UnityEngine.Transform
bone3 UnityEngine.Transform
parentBone UnityEngine.Transform
Résultat UnityEngine

IsValid() public méthode

Determines whether this IKMappingLimb is valid
public IsValid ( IKSolver solver, Warning logger = null ) : bool
solver IKSolver
logger Warning
Résultat bool

OnInitiate() protected méthode

protected OnInitiate ( ) : void
Résultat void

ReadPose() public méthode

public ReadPose ( ) : void
Résultat void

SetBones() public méthode

public SetBones ( Transform bone1, Transform bone2, Transform bone3, Transform parentBone = null ) : void
bone1 UnityEngine.Transform
bone2 UnityEngine.Transform
bone3 UnityEngine.Transform
parentBone UnityEngine.Transform
Résultat void

SetLimbOrientation() public méthode

Makes the limb mapped to the specific local directions of the bones. Added in 0.3
public SetLimbOrientation ( Vector3 upper, Vector3 lower ) : void
upper UnityEngine.Vector3
lower UnityEngine.Vector3
Résultat void

StoreDefaultLocalState() public méthode

public StoreDefaultLocalState ( ) : void
Résultat void

WritePose() public méthode

public WritePose ( bool fullBody ) : void
fullBody bool
Résultat void

Property Details

bone1 public_oe property

The first bone (upper arm or thigh).
public Transform,UnityEngine bone1
Résultat UnityEngine.Transform

bone2 public_oe property

The second bone (forearm or calf).
public Transform,UnityEngine bone2
Résultat UnityEngine.Transform

bone3 public_oe property

The third bone (hand or foot).
public Transform,UnityEngine bone3
Résultat UnityEngine.Transform

parentBone public_oe property

The optional parent bone (clavicle).
public Transform,UnityEngine parentBone
Résultat UnityEngine.Transform