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

TypeNameDescription
EMirrorAxisaxisDefault EMirrorAxis::X.
std::vector<FMirrorBonePair>pairsAuthored pairs. A bone named in neither list still mirrors in place.
std::vector<FMirrorNameRule>rulesRules for AutoGenerate; empty means DefaultRules().

Public functions

ReturnsNameDescription
const std::vector<FMirrorNameRule>&DefaultRules
voidAutoGenerateFills pairs from rules (or DefaultRules) over this skeleton's names.
voidResolve
voidApplyin/out may not alias.
voidSerialize
boolDeserialize
boolSaveToFile
boolLoadFromFile

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) const

Deserialize

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