C# Класс RootMotion.FinalIK.IKSolverFullBodyBiped

Наследование: RootMotion.FinalIK.IKSolverFullBody
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
rootNode UnityEngine.Transform

Открытые методы

Метод Описание
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).

Защищенные методы

Метод Описание
ApplyBendConstraints ( ) : void
ReadPose ( ) : void
WritePose ( ) : void

Приватные методы

Метод Описание
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

Описание методов

ApplyBendConstraints() защищенный Метод

protected ApplyBendConstraints ( ) : void
Результат void

DetectRootNodeBone() публичный статический Метод

public static DetectRootNodeBone ( BipedReferences references ) : Transform
references BipedReferences
Результат UnityEngine.Transform

GetBendConstraint() публичный Метод

Gets the bend constraint of a limb.
public GetBendConstraint ( FullBodyBipedChain limb ) : RootMotion.FinalIK.IKConstraintBend
limb FullBodyBipedChain
Результат RootMotion.FinalIK.IKConstraintBend

GetChain() публичный Метод

Gets the chain of a limb.
public GetChain ( FullBodyBipedChain c ) : FBIKChain
c FullBodyBipedChain
Результат FBIKChain

GetChain() публичный Метод

Gets the chain of the specified effector.
public GetChain ( FullBodyBipedEffector effector ) : FBIKChain
effector FullBodyBipedEffector
Результат FBIKChain

GetEffector() публичный Метод

Gets the effector of type.
public GetEffector ( FullBodyBipedEffector effector ) : RootMotion.FinalIK.IKEffector
effector FullBodyBipedEffector
Результат RootMotion.FinalIK.IKEffector

GetEndEffector() публичный Метод

Gets the effector of type.
public GetEndEffector ( FullBodyBipedChain c ) : RootMotion.FinalIK.IKEffector
c FullBodyBipedChain
Результат RootMotion.FinalIK.IKEffector

GetHeadMapping() публичный Метод

Gets the head mapping.
public GetHeadMapping ( ) : RootMotion.FinalIK.IKMappingBone
Результат RootMotion.FinalIK.IKMappingBone

GetLimbMapping() публичный Метод

Gets the limb mapping for the limb.
public GetLimbMapping ( FullBodyBipedChain chain ) : IKMappingLimb
chain FullBodyBipedChain
Результат IKMappingLimb

GetLimbMapping() публичный Метод

Gets the limb mapping for the effector type.
public GetLimbMapping ( FullBodyBipedEffector effector ) : IKMappingLimb
effector FullBodyBipedEffector
Результат IKMappingLimb

GetSpineMapping() публичный Метод

Gets the spine mapping.
public GetSpineMapping ( ) : IKMappingSpine
Результат IKMappingSpine

IsValid() публичный Метод

public IsValid ( bool log ) : bool
log bool
Результат bool

ReadPose() защищенный Метод

protected ReadPose ( ) : void
Результат void

SetChainWeights() публичный Метод

Sets chain weights for the specified chain.
public SetChainWeights ( FullBodyBipedChain c, float pull, float reach = 0f ) : void
c FullBodyBipedChain
pull float
reach float
Результат void

SetEffectorWeights() публичный Метод

Sets effector weights for the specified effector.
public SetEffectorWeights ( FullBodyBipedEffector effector, float positionWeight, float rotationWeight ) : void
effector FullBodyBipedEffector
positionWeight float
rotationWeight float
Результат void

SetLimbOrientations() публичный Метод

Sets the bend directions of the limbs to the local axes specified by BipedLimbOrientations.
public SetLimbOrientations ( BipedLimbOrientations o ) : void
o BipedLimbOrientations
Результат void

SetToReferences() публичный Метод

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.
Результат void

WritePose() защищенный Метод

protected WritePose ( ) : void
Результат void

Описание свойств

rootNode публичное свойство

The central root node (body).
public Transform,UnityEngine rootNode
Результат UnityEngine.Transform