Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Animation
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UDataTable
- UMirrorDataTable
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Animation/MirrorDataTable.h |
| Include | #include "Animation/MirrorDataTable.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, HideCategories=(ImportOptions, ImportSource))
class UMirrorDataTable : public UDataTable
Remarks
Data table for mirroring bones, notifies, and curves. The mirroring table allows self mirroring with entries where the name and mirrored name are identical
Variables
| Type | Name | Description | |
|---|---|---|---|
| TMap< FName, FName > | AnimNotifyToMirrorAnimNotifyMap | Map from animation notify to mirrored animation notify. | |
| bool | bMirrorRootMotion | ||
| TCustomBoneIndexArray< FSkeletonPoseBoneIndex, FSkeletonPoseBoneIndex > | BoneToMirrorBoneIndex | Index of the mirror bone for a given bone index in the reference skeleton, or INDEX_NONE if the bone is not mirrored. | |
| TArray< SmartName::UID_Type > | CurveMirrorSourceUIDArray | ||
| TArray< SmartName::UID_Type > | CurveMirrorTargetUIDArray | ||
| TMap< FName, FName > | CurveToMirrorCurveMap | Map from animation curve to mirrored animation curve. | |
| TEnumAsByte< EAxis::Type > | MirrorAxis | ||
| TArray< FMirrorFindReplaceExpression > | MirrorFindReplaceExpressions | ||
| TObjectPtr< USkeleton > | Skeleton | ||
| TMap< FName, FName > | SyncToMirrorSyncMap | Map from sync marker to mirrored sync marker. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMirrorDataTable
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | FillCompactPoseAndComponentRefRotations
(
const FBoneContainer& BoneContainer, |
Populates two arrays with a mapping of compact pose mirror bones and reference rotations | |
| void | FillCompactPoseMirrorBones
(
const FBoneContainer& BoneContainer, |
Create Mirror Bone Indices for the provided BoneContainer. | |
| void | Fill BoneToMirrorBoneIndex, CurveMirrorSourceUIDArray, CurveMirrorTargetUIDArray and NotifyToMirrorNotifyIndex based on the Skeleton and Table Contents. | ||
| void | FillMirrorBoneIndexes
(
const USkeleton* Skeleton, |
Converts the mirror data table Name -> MirrorName map into an index map for the given ReferenceSkeleton | |
| FName | FindBestMirroredBone
(
const FName InBoneName, |
Finds the "best matching" mirrored bone across the specified axis. | |
| FName | FindReplace
(
FName InName |
Evaluate the MirrorFindReplaceExpressions on InName and return the replaced value of the first entry that matches | |
| void | Populates the table by running the MirrorFindReplaceExpressions on bone names in the Skeleton. | ||
| FName | GetMirrorName
(
FName InName, |
Apply the provided find and replace strings against the given name, returning the mirrored name or NAME_None if none of the find strings are found in the name. | |
| FName | GetSettingsMirrorName
(
FName InName |
Apply the animation settings mirroring find and replace strings against the given name, returning the mirrored name or NAME_None if none of the find strings are found in the name. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally | |
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. |