C# 클래스 RootMotion.FinalIK.IKSolver

파일 보기 프로젝트 열기: Alx666/ProjectPhoenix 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
OnPostInitiate UpdateDelegate
OnPostUpdate UpdateDelegate
OnPreInitiate UpdateDelegate
OnPreUpdate UpdateDelegate

보호된 프로퍼티들

프로퍼티 타입 설명
firstInitiation bool

공개 메소드들

메소드 설명
ContainsDuplicateBone ( Bone bones ) : Transform

Checks if an array of objects contains any duplicates.

FixTransforms ( ) : void

Fixes all the Transforms used by the solver to their initial state.

GetIKPosition ( ) : Vector3

Gets the %IK position. NOTE: You are welcome to read IKPosition directly, this method is here only to match the Unity's built in %IK API.

GetIKPositionWeight ( ) : float

Gets the %IK position weight. NOTE: You are welcome to read IKPositionWeight directly, this method is here only to match the Unity's built in %IK API.

GetPoint ( Transform transform ) : IKSolver.Point

Gets the point with the specified Transform.

GetPoints ( ) : RootMotion.FinalIK.IKSolver.Point[]

Gets all the points used by the solver.

GetRoot ( ) : Transform

Gets the root Transform.

HierarchyIsValid ( IKSolver bones ) : bool
Initiate ( Transform root ) : void

Initiate the solver with specified root Transform. Use only if this %IKSolver is not a member of an %IK component.

IsValid ( bool log ) : bool

Determines whether this instance is valid or not. If log == true, will log a warning message in case of an invalid solver.

SetIKPosition ( Vector3 position ) : void

Sets the %IK position. NOTE: You are welcome to set IKPosition directly, this method is here only to match the Unity's built in %IK API.

SetIKPositionWeight ( float weight ) : void

Sets the %IK position weight. NOTE: You are welcome to set IKPositionWeight directly, this method is here only to match the Unity's built in %IK API.

StoreDefaultLocalState ( ) : void

Stores the default local state for the bones used by the solver.

Update ( ) : void

Updates the %IK solver. Use only if this %IKSolver is not a member of an %IK component or the %IK component has been disabled and you intend to manually control the updating.

보호된 메소드들

메소드 설명
LogWarning ( string message ) : void
OnInitiate ( ) : void
OnUpdate ( ) : void

메소드 상세

ContainsDuplicateBone() 공개 정적인 메소드

Checks if an array of objects contains any duplicates.
public static ContainsDuplicateBone ( Bone bones ) : Transform
bones Bone
리턴 UnityEngine.Transform

FixTransforms() 공개 추상적인 메소드

Fixes all the Transforms used by the solver to their initial state.
public abstract FixTransforms ( ) : void
리턴 void

GetIKPosition() 공개 메소드

Gets the %IK position. NOTE: You are welcome to read IKPosition directly, this method is here only to match the Unity's built in %IK API.
public GetIKPosition ( ) : Vector3
리턴 UnityEngine.Vector3

GetIKPositionWeight() 공개 메소드

Gets the %IK position weight. NOTE: You are welcome to read IKPositionWeight directly, this method is here only to match the Unity's built in %IK API.
public GetIKPositionWeight ( ) : float
리턴 float

GetPoint() 공개 추상적인 메소드

Gets the point with the specified Transform.
public abstract GetPoint ( Transform transform ) : IKSolver.Point
transform UnityEngine.Transform
리턴 IKSolver.Point

GetPoints() 공개 추상적인 메소드

Gets all the points used by the solver.
public abstract GetPoints ( ) : RootMotion.FinalIK.IKSolver.Point[]
리턴 RootMotion.FinalIK.IKSolver.Point[]

GetRoot() 공개 메소드

Gets the root Transform.
public GetRoot ( ) : Transform
리턴 UnityEngine.Transform

HierarchyIsValid() 공개 정적인 메소드

public static HierarchyIsValid ( IKSolver bones ) : bool
bones IKSolver
리턴 bool

Initiate() 공개 메소드

Initiate the solver with specified root Transform. Use only if this %IKSolver is not a member of an %IK component.
public Initiate ( Transform root ) : void
root UnityEngine.Transform
리턴 void

IsValid() 공개 추상적인 메소드

Determines whether this instance is valid or not. If log == true, will log a warning message in case of an invalid solver.
public abstract IsValid ( bool log ) : bool
log bool
리턴 bool

LogWarning() 보호된 메소드

protected LogWarning ( string message ) : void
message string
리턴 void

OnInitiate() 보호된 추상적인 메소드

protected abstract OnInitiate ( ) : void
리턴 void

OnUpdate() 보호된 추상적인 메소드

protected abstract OnUpdate ( ) : void
리턴 void

SetIKPosition() 공개 메소드

Sets the %IK position. NOTE: You are welcome to set IKPosition directly, this method is here only to match the Unity's built in %IK API.
public SetIKPosition ( Vector3 position ) : void
position UnityEngine.Vector3
리턴 void

SetIKPositionWeight() 공개 메소드

Sets the %IK position weight. NOTE: You are welcome to set IKPositionWeight directly, this method is here only to match the Unity's built in %IK API.
public SetIKPositionWeight ( float weight ) : void
weight float
리턴 void

StoreDefaultLocalState() 공개 추상적인 메소드

Stores the default local state for the bones used by the solver.
public abstract StoreDefaultLocalState ( ) : void
리턴 void

Update() 공개 메소드

Updates the %IK solver. Use only if this %IKSolver is not a member of an %IK component or the %IK component has been disabled and you intend to manually control the updating.
public Update ( ) : void
리턴 void

프로퍼티 상세

OnPostInitiate 공개적으로 프로퍼티

Called after initiating the solver.
public UpdateDelegate OnPostInitiate
리턴 UpdateDelegate

OnPostUpdate 공개적으로 프로퍼티

Called after writing the solved pose
public UpdateDelegate OnPostUpdate
리턴 UpdateDelegate

OnPreInitiate 공개적으로 프로퍼티

Called before initiating the solver.
public UpdateDelegate OnPreInitiate
리턴 UpdateDelegate

OnPreUpdate 공개적으로 프로퍼티

Called before updating.
public UpdateDelegate OnPreUpdate
리턴 UpdateDelegate

firstInitiation 보호되어 있는 프로퍼티

protected bool firstInitiation
리턴 bool