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

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

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

Свойство Тип Описание
OnPreIteration IterationDelegate

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

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

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

Метод Описание
OnInitiate ( ) : void
OnUpdate ( ) : void

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

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

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

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

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

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

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

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

Solving stage 2 of the %FABRIK algorithm.
public SolveBackward ( Vector3 position ) : void
position Vector3
Результат void

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

Solving stage 1 of the %FABRIK algorithm.
public SolveForward ( Vector3 position ) : void
position Vector3
Результат void

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

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

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

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

Called before each iteration of the solver.
public IterationDelegate OnPreIteration
Результат IterationDelegate