C# Class RootMotion.FinalIK.IKSolverFABRIK

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

Méthodes publiques

Свойство Type Description
OnPreIteration IterationDelegate

Méthodes publiques

Méthode Description
SolveBackward ( Vector3 position ) : void

Solving stage 2 of the %FABRIK algorithm.

SolveForward ( Vector3 position ) : void

Solving stage 1 of the %FABRIK algorithm.

SolveJoint ( Vector3 pos1, Vector3 pos2, float length ) : Vector3

Interpolates the joint position to match the bone's length

Méthodes protégées

Méthode Description
OnInitiate ( ) : void
OnUpdate ( ) : void

Private Methods

Méthode Description
BackwardReach ( Vector3 position ) : void
BackwardReachLimited ( Vector3 position ) : void
BackwardReachUnlimited ( Vector3 position ) : void
ForwardReach ( Vector3 position ) : void
GetLimitedRotation ( int index, Quaternion q, bool &changed ) : Quaternion
GetParentSolverPosition ( int index ) : Vector3
GetParentSolverRotation ( int index ) : Quaternion
LimitForward ( int rotateBone, int limitBone ) : void
MapToSolverPositions ( ) : void
MapToSolverPositionsLimited ( ) : void
OnPostSolve ( ) : void
OnPreSolve ( ) : void
Solve ( Vector3 targetPosition ) : void
SolverMove ( int index, Vector3 offset ) : void
SolverMoveChildrenAroundPoint ( int index, Quaternion rotation ) : void
SolverRotate ( int index, Quaternion rotation, bool recursive ) : void
SolverRotateChildren ( int index, Quaternion rotation ) : void

Method Details

OnInitiate() protected méthode

protected OnInitiate ( ) : void
Résultat void

OnUpdate() protected méthode

protected OnUpdate ( ) : void
Résultat void

SolveBackward() public méthode

Solving stage 2 of the %FABRIK algorithm.
public SolveBackward ( Vector3 position ) : void
position Vector3
Résultat void

SolveForward() public méthode

Solving stage 1 of the %FABRIK algorithm.
public SolveForward ( Vector3 position ) : void
position Vector3
Résultat void

SolveJoint() public static méthode

Interpolates the joint position to match the bone's length
public static SolveJoint ( Vector3 pos1, Vector3 pos2, float length ) : Vector3
pos1 Vector3
pos2 Vector3
length float
Résultat Vector3

Property Details

OnPreIteration public_oe property

Called before each iteration of the solver.
public IterationDelegate OnPreIteration
Résultat IterationDelegate