class
FBlendSpaceAssetData
A blend space as a FILE of its own (.mblendspace) instead of a block inside one anim-graph state. Either a 1D strip or a 2D grid; the two sample lists are kept side by side so flipping the dimension in the editor never throws the other one's samples away, exactly as a state's does.
- Module
- Animation
- Header
#include "Animation/BlendSpaceAssetData.h"- Namespace
Mowo
Anim-graph nodes name the file and read Grid(): the 2D evaluator the graph already runs, with a 1D asset laid along the X axis, so a node needs no second code path for the two dimensions.
Properties
| Type | Name | Description |
|---|---|---|
bool | Use2D | Default true. |
BlendSpace1D | Space1D | |
BlendSpace2D | Space2D | |
std::string | ParamX | The controller parameters driving the two axes, by name. A node that references the asset reads its own parameters; these name what the editor's preview sliders stand for. |
std::string | ParamY |
Public functions
| Returns | Name | Description |
|---|---|---|
const BlendSpace2D& | Grid | The grid a graph node evaluates. |
void | RebuildGrid | |
std::string | SerializeToString | |
bool | DeserializeFromString | |
bool | SaveToFile | |
bool | LoadFromFile |
Function details
Grid
C++
const BlendSpace2D& Grid() constThe grid a graph node evaluates. Valid after a load or RebuildGrid.
RebuildGrid
C++
void RebuildGrid()SerializeToString
C++
std::string SerializeToString() constDeserializeFromString
C++
bool DeserializeFromString(const std::string& text, const char* label = "blend space")SaveToFile
C++
bool SaveToFile(const std::string& path) constLoadFromFile
C++
bool LoadFromFile(const std::string& path)Generated from Animation/BlendSpaceAssetData.h via animation.json · Dec 5, 2026Version 1.1.0