C# Class RootMotion.FinalIK.IKSolverFullBodyBiped

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

Méthodes publiques

Свойство Type Description
rootNode UnityEngine.Transform

Méthodes publiques

Méthode Description
DetectRootNodeBone ( BipedReferences references ) : Transform
GetBendConstraint ( FullBodyBipedChain limb ) : RootMotion.FinalIK.IKConstraintBend

Gets the bend constraint of a limb.

GetChain ( FullBodyBipedChain c ) : FBIKChain

Gets the chain of a limb.

GetChain ( FullBodyBipedEffector effector ) : FBIKChain

Gets the chain of the specified effector.

GetEffector ( FullBodyBipedEffector effector ) : RootMotion.FinalIK.IKEffector

Gets the effector of type.

GetEndEffector ( FullBodyBipedChain c ) : RootMotion.FinalIK.IKEffector

Gets the effector of type.

GetHeadMapping ( ) : RootMotion.FinalIK.IKMappingBone

Gets the head mapping.

GetLimbMapping ( FullBodyBipedChain chain ) : IKMappingLimb

Gets the limb mapping for the limb.

GetLimbMapping ( FullBodyBipedEffector effector ) : IKMappingLimb

Gets the limb mapping for the effector type.

GetSpineMapping ( ) : IKMappingSpine

Gets the spine mapping.

IsValid ( bool log ) : bool
SetChainWeights ( FullBodyBipedChain c, float pull, float reach = 0f ) : void

Sets chain weights for the specified chain.

SetEffectorWeights ( FullBodyBipedEffector effector, float positionWeight, float rotationWeight ) : void

Sets effector weights for the specified effector.

SetLimbOrientations ( BipedLimbOrientations o ) : void

Sets the bend directions of the limbs to the local axes specified by BipedLimbOrientations.

SetToReferences ( BipedReferences references, Transform rootNode = null ) : void

Sets up the solver to BipedReferences and reinitiates (if in runtime).

Méthodes protégées

Méthode Description
ApplyBendConstraints ( ) : void
ReadPose ( ) : void
WritePose ( ) : void

Private Methods

Méthode Description
Contains ( Transform array, Transform transform ) : bool
GetBodyOffset ( ) : Vector3
GetHandBodyPull ( RootMotion.FinalIK.IKEffector effector, FBIKChain arm, Vector3 offset ) : Vector3
GetLeftClavicle ( BipedReferences references ) : Transform
GetRightClavicle ( BipedReferences references ) : Transform
PullBody ( ) : void
SetLimbOrientation ( FullBodyBipedChain chain, BipedLimbOrientations limbOrientation ) : void

Method Details

ApplyBendConstraints() protected méthode

protected ApplyBendConstraints ( ) : void
Résultat void

DetectRootNodeBone() public static méthode

public static DetectRootNodeBone ( BipedReferences references ) : Transform
references BipedReferences
Résultat UnityEngine.Transform

GetBendConstraint() public méthode

Gets the bend constraint of a limb.
public GetBendConstraint ( FullBodyBipedChain limb ) : RootMotion.FinalIK.IKConstraintBend
limb FullBodyBipedChain
Résultat RootMotion.FinalIK.IKConstraintBend

GetChain() public méthode

Gets the chain of a limb.
public GetChain ( FullBodyBipedChain c ) : FBIKChain
c FullBodyBipedChain
Résultat FBIKChain

GetChain() public méthode

Gets the chain of the specified effector.
public GetChain ( FullBodyBipedEffector effector ) : FBIKChain
effector FullBodyBipedEffector
Résultat FBIKChain

GetEffector() public méthode

Gets the effector of type.
public GetEffector ( FullBodyBipedEffector effector ) : RootMotion.FinalIK.IKEffector
effector FullBodyBipedEffector
Résultat RootMotion.FinalIK.IKEffector

GetEndEffector() public méthode

Gets the effector of type.
public GetEndEffector ( FullBodyBipedChain c ) : RootMotion.FinalIK.IKEffector
c FullBodyBipedChain
Résultat RootMotion.FinalIK.IKEffector

GetHeadMapping() public méthode

Gets the head mapping.
public GetHeadMapping ( ) : RootMotion.FinalIK.IKMappingBone
Résultat RootMotion.FinalIK.IKMappingBone

GetLimbMapping() public méthode

Gets the limb mapping for the limb.
public GetLimbMapping ( FullBodyBipedChain chain ) : IKMappingLimb
chain FullBodyBipedChain
Résultat IKMappingLimb

GetLimbMapping() public méthode

Gets the limb mapping for the effector type.
public GetLimbMapping ( FullBodyBipedEffector effector ) : IKMappingLimb
effector FullBodyBipedEffector
Résultat IKMappingLimb

GetSpineMapping() public méthode

Gets the spine mapping.
public GetSpineMapping ( ) : IKMappingSpine
Résultat IKMappingSpine

IsValid() public méthode

public IsValid ( bool log ) : bool
log bool
Résultat bool

ReadPose() protected méthode

protected ReadPose ( ) : void
Résultat void

SetChainWeights() public méthode

Sets chain weights for the specified chain.
public SetChainWeights ( FullBodyBipedChain c, float pull, float reach = 0f ) : void
c FullBodyBipedChain
pull float
reach float
Résultat void

SetEffectorWeights() public méthode

Sets effector weights for the specified effector.
public SetEffectorWeights ( FullBodyBipedEffector effector, float positionWeight, float rotationWeight ) : void
effector FullBodyBipedEffector
positionWeight float
rotationWeight float
Résultat void

SetLimbOrientations() public méthode

Sets the bend directions of the limbs to the local axes specified by BipedLimbOrientations.
public SetLimbOrientations ( BipedLimbOrientations o ) : void
o BipedLimbOrientations
Résultat void

SetToReferences() public méthode

Sets up the solver to BipedReferences and reinitiates (if in runtime).
public SetToReferences ( BipedReferences references, Transform rootNode = null ) : void
references BipedReferences Biped references.
rootNode UnityEngine.Transform Root node (optional). if null, will try to detect the root node bone automatically.
Résultat void

WritePose() protected méthode

protected WritePose ( ) : void
Résultat void

Property Details

rootNode public_oe property

The central root node (body).
public Transform,UnityEngine rootNode
Résultat UnityEngine.Transform