C# Class RootMotion.FinalIK.IKMappingSpine

Inheritance: RootMotion.FinalIK.IKMapping
显示文件 Open project: Alx666/ProjectPhoenix Class Usage Examples

Public Properties

Property Type Description
leftThighBone UnityEngine.Transform
leftUpperArmBone UnityEngine.Transform
rightThighBone UnityEngine.Transform
rightUpperArmBone UnityEngine.Transform
spineBones UnityEngine.Transform[]

Public Methods

Method Description
FixTransforms ( ) : void
ForwardReach ( Vector3 position ) : void
IKMappingSpine ( ) : UnityEngine
IKMappingSpine ( Transform spineBones, Transform leftUpperArmBone, Transform rightUpperArmBone, Transform leftThighBone, Transform rightThighBone ) : UnityEngine
IsValid ( IKSolver solver, Warning logger = null ) : bool

Determines whether this IKMappingSpine is valid

ReadPose ( ) : void
SetBones ( Transform spineBones, Transform leftUpperArmBone, Transform rightUpperArmBone, Transform leftThighBone, Transform rightThighBone ) : void
StoreDefaultLocalState ( ) : void
WritePose ( ) : void

Protected Methods

Method Description
OnInitiate ( ) : void

Private Methods

Method Description
BackwardReach ( Vector3 position ) : void
MapToSolverPositions ( ) : void
UseFABRIK ( ) : bool

Method Details

FixTransforms() public method

public FixTransforms ( ) : void
return void

ForwardReach() public method

public ForwardReach ( Vector3 position ) : void
position UnityEngine.Vector3
return void

IKMappingSpine() public method

public IKMappingSpine ( ) : UnityEngine
return UnityEngine

IKMappingSpine() public method

public IKMappingSpine ( Transform spineBones, Transform leftUpperArmBone, Transform rightUpperArmBone, Transform leftThighBone, Transform rightThighBone ) : UnityEngine
spineBones UnityEngine.Transform
leftUpperArmBone UnityEngine.Transform
rightUpperArmBone UnityEngine.Transform
leftThighBone UnityEngine.Transform
rightThighBone UnityEngine.Transform
return UnityEngine

IsValid() public method

Determines whether this IKMappingSpine is valid
public IsValid ( IKSolver solver, Warning logger = null ) : bool
solver IKSolver
logger Warning
return bool

OnInitiate() protected method

protected OnInitiate ( ) : void
return void

ReadPose() public method

public ReadPose ( ) : void
return void

SetBones() public method

public SetBones ( Transform spineBones, Transform leftUpperArmBone, Transform rightUpperArmBone, Transform leftThighBone, Transform rightThighBone ) : void
spineBones UnityEngine.Transform
leftUpperArmBone UnityEngine.Transform
rightUpperArmBone UnityEngine.Transform
leftThighBone UnityEngine.Transform
rightThighBone UnityEngine.Transform
return void

StoreDefaultLocalState() public method

public StoreDefaultLocalState ( ) : void
return void

WritePose() public method

public WritePose ( ) : void
return void

Property Details

leftThighBone public_oe property

The left thigh bone.
public Transform,UnityEngine leftThighBone
return UnityEngine.Transform

leftUpperArmBone public_oe property

The left upper arm bone.
public Transform,UnityEngine leftUpperArmBone
return UnityEngine.Transform

rightThighBone public_oe property

The right thigh bone.
public Transform,UnityEngine rightThighBone
return UnityEngine.Transform

rightUpperArmBone public_oe property

The right upper arm bone.
public Transform,UnityEngine rightUpperArmBone
return UnityEngine.Transform

spineBones public_oe property

The spine bones.
public Transform[],UnityEngine spineBones
return UnityEngine.Transform[]