Navigation
API > API/Runtime > API/Runtime/Engine
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/ReferenceSkeleton.h |
| Include | #include "ReferenceSkeleton.h" |
Syntax
struct FReferenceSkeletonModifier
Remarks
Allow modifications to a reference skeleton while guaranteeing that virtual bones remain valid.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FReferenceSkeletonModifier
(
USkeleton* InSkeleton |
|||
FReferenceSkeletonModifier
(
FReferenceSkeleton& InRefSkel, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Add
(
const FMeshBoneInfo& BoneInfo, |
Add a new bone. BoneName must not already exist! ParentIndex must be valid. | |
| int32 | FindBoneIndex
(
const FName& BoneName |
Find Bone Index from BoneName. | |
| const TArray< FMeshBoneInfo > & | Accessor to private data. Const so it can't be changed recklessly. | ||
| const FReferenceSkeleton & | |||
| void | Remove a bone. BoneName must be valid. | ||
| void | Rename a bone. InOldName must be valid and InNewName not already a bone name. | ||
| int32 | Change bone's parent. InBoneName must be valid and InParentName can be Name_NONE to unparent. | ||
| void | UpdateRefPoseTransform
(
const int32 BoneIndex, |
Update the reference pose transform of the specified bone. |