class
FMirrorTable
The .mirror asset (UE's UMirrorDataTable): the left/right bone pairing and the plane a pose is reflected through. It is pure data — resolution against a skeleton and the reflection itself are statics, so the same table can drive any number of skeletons without holding state for any of them.
- Module
- Animation
- Header
#include "Animation/MirrorTable.h"- Namespace
Mowo
Properties
| Type | Name | Description |
|---|---|---|
EMirrorAxis | axis | Default EMirrorAxis::X. |
std::vector<FMirrorBonePair> | pairs | Authored pairs. A bone named in neither list still mirrors in place. |
std::vector<FMirrorNameRule> | rules | Rules for AutoGenerate; empty means DefaultRules(). |
Public functions
| Returns | Name | Description |
|---|---|---|
const std::vector<FMirrorNameRule>& | DefaultRules | |
void | AutoGenerate | Fills pairs from rules (or DefaultRules) over this skeleton's names. |
void | Resolve | |
void | Apply | in/out may not alias. |
void | Serialize | |
bool | Deserialize | |
bool | SaveToFile | |
bool | LoadFromFile |
Function details
DefaultRules
C++
static const std::vector<FMirrorNameRule>& DefaultRules()AutoGenerate
C++
void AutoGenerate(const Skeleton& skeleton)Fills pairs from rules (or DefaultRules) over this skeleton's names. Existing pairs are kept and never re-derived, so hand authoring survives.
Resolve
C++
static void Resolve(const FMirrorTable& table, const Skeleton& skeleton, FMirrorResolved& out)Apply
C++
static void Apply(const FMirrorResolved& resolved, const Skeleton& skeleton, const std::vector<Mat4>& in, std::vector<Mat4>& out)in/out may not alias. Reflection runs in COMPONENT space (the skeleton's root transform is deliberately excluded — it is common to all three of the poses involved and cancels), then converts back to local through the mirrored parent chain.
Serialize
C++
void Serialize(MdfNode& node) constDeserialize
C++
bool Deserialize(const MdfNode& node)SaveToFile
C++
static bool SaveToFile(const FMirrorTable& table, const std::string& path)LoadFromFile
C++
static bool LoadFromFile(const std::string& path, FMirrorTable& out)Generated from Animation/MirrorTable.h via animation.json · Oct 26, 2026Version 1.0.0