Navigation
API > API/Plugins > API/Plugins/UAFMirroring
Mirroring Cache
Holds all precomputed data needed to mirror keyframe output efficiently, so it doesn’t have to be rebuilt every evaluation.
| Name | FMirroringTraitCache |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/UAF/UAFMirroring/Source/UAFMirroring/Public/MirroringTask.h |
| Include Path | #include "MirroringTask.h" |
Syntax
struct FMirroringTraitCache
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CompactPoseBoneIndexToMirroredCompactPoseBoneIndexMap | TCustomBoneIndexArray< FCompactPoseBoneIndex, FCompactPoseBoneIndex > | Cached mirror indices map but using FCompactPoseIndex (invalidated on skeletal mesh or mirror data table change) | MirroringTask.h | |
| MeshBoneIndexToMirroredMeshBoneIndexMap | TArray< FBoneIndexType > | Cached mirror indices map (invalidated on skeletal mesh or mirror data table change) | MirroringTask.h | |
| MeshSpaceReferencePoseRotations | TArray< FQuat > | Cached bind pose rotations (invalidated on skeletal mesh change) | MirroringTask.h | |
| MeshSpaceReferenceRotationCorrections | TArray< FQuat > | Cached bind pose rotation corrections (invalidated on skeletal mesh change) | MirroringTask.h | |
| MirrorTable | TWeakObjectPtr< const UMirrorDataTable > | Mirror data table used to build this cache. | MirroringTask.h | |
| SkeletalMesh | TWeakObjectPtr< const USkeletalMesh > | Skeletal mesh used to build this cache. | MirroringTask.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AreMirrorMapsValid
(
const UE::UAF::FReferencePose& InReferencePose, |
True if the cached mirror maps were generated using exactly these assets. | MirroringTask.h | |
void Clear() |
Empty arrays and reset ptrs to assets | MirroringTask.h | |
bool IsReferencePoseDataValid
(
const UE::UAF::FReferencePose& InReferencePose, |
True if the cached bind/reference-pose data matches this mesh. | MirroringTask.h | |
bool IsValid
(
const UE::UAF::FReferencePose& InReferencePose, |
True if the cache was generated using exactly these assets. | MirroringTask.h |