Navigation
API > API/Plugins > API/Plugins/IKRig > API/Plugins/IKRig/Rig
References
| Module | IKRig |
| Header | /Engine/Plugins/Animation/IKRig/Source/IKRig/Public/Rig/IKRigSkeleton.h |
| Include | #include "Rig/IKRigSkeleton.h" |
Syntax
USTRUCT&40;&41;
struct FIKRigSkeleton
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FName > | BoneNames | Names of bones. Used to match hierarchy with runtime skeleton. | |
| TArray< FTransform > | CurrentPoseGlobal | The current GLOBAL space pose of each bone. | |
| TArray< FTransform > | CurrentPoseLocal | The current LOCAL space pose of each bone. | |
| TArray< FName > | ExcludedBones | Sparse array of bones that are to be excluded from any solvers (parented around, treated as FK children). | |
| TArray< int32 > | ParentIndices | Same length as BoneNames, stores index of parent for each bone. | |
| TArray< FTransform > | RefPoseGlobal | The initial/reference GLOBAL space pose of each bone. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ConvertLocalPoseToGlobal
(
const TArray< int32 >& InParentIndices, |
||
| int32 | GetBoneIndexFromName
(
const FName InName |
||
| const FName & | GetBoneNameFromIndex
(
const int32 BoneIndex |
||
| int32 | GetCachedEndOfBranchIndex
(
const int32 InBoneIndex |
||
| void | GetChainsInList
(
const TArray< int32 >& SelectedBones, |
||
| int32 | GetChildIndices
(
const int32 ParentBoneIndex, |
||
| bool | GetMirroredBoneIndices
(
const TArray< int32 >& BoneIndices, |
Given a set of bones, returns a set of indices of bones that are mirrored across X axis (YZ plane) return false if any of the bones do not have a mirrored pair within the MaxDistanceThreshold | |
| int32 | GetParentIndex
(
const int32 BoneIndex |
||
| int32 | GetParentIndexThatIsNotExcluded
(
const int32 BoneIndex |
||
| bool | IsBoneExcluded
(
const int32 BoneIndex |
||
| bool | IsBoneInDirectLineage
(
const FName& Child, |
||
| void | NormalizeRotations
(
TArray< FTransform >& Transforms |
||
| void | PropagateGlobalPoseBelowBone
(
const int32 BoneIndex |
||
| void | Reset () |
||
| void | SetInputSkeleton
(
const USkeletalMesh* SkeletalMesh, |
||
| void | SetInputSkeleton
(
const FIKRigInputSkeleton& InputSkeleton, |
||
| void | |||
| void | |||
| void | UpdateGlobalTransformFromLocal
(
const int32 BoneIndex |
||
| void | UpdateLocalTransformFromGlobal
(
const int32 BoneIndex |
||
| bool | ValidateChainAndGetBones
(
const FBoneChain& Chain, |
Get indices of bones in this chain, ordered from tip to root. returns false if chain is invalid. |