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 ()
struct FIKRigInputSkeleton
Remarks
Data used just to initialize an IKRigSkeleton from outside systems
The input skeleton may be different than the skeleton that the IK Rig asset was created for, within some limits.
It must have all the Bones that the IK Rig asset referenced (must be a sub-set)
All the bones must have the same parents (no change in hierarchy)
You can however add additional bones, change the reference pose (including proportions) and the bone indices. This allows you to run the same IK Rig asset on somewhat different skeletal meshes.
To validate compatibility use UIKRigProcess::IsIKRigCompatibleWithSkeleton()
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FName > | BoneNames | ||
| TArray< FTransform > | LocalRefPose | ||
| TArray< int32 > | ParentIndices | ||
| FName | SkeletalMeshName |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FIKRigInputSkeleton
(
const USkeletalMesh* SkeletalMesh |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Initialize
(
const USkeletalMesh* SkeletalMesh |
||
| void | Reset () |