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

TypeNameDescription
boolUse2DDefault true.
BlendSpace1DSpace1D
BlendSpace2DSpace2D
std::stringParamXThe 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::stringParamY

Public functions

ReturnsNameDescription
const BlendSpace2D&GridThe grid a graph node evaluates.
voidRebuildGrid
std::stringSerializeToString
boolDeserializeFromString
boolSaveToFile
boolLoadFromFile

Function details

Grid

C++
const BlendSpace2D& Grid() const

The grid a graph node evaluates. Valid after a load or RebuildGrid.

RebuildGrid

C++
void RebuildGrid()

SerializeToString

C++
std::string SerializeToString() const

DeserializeFromString

C++
bool DeserializeFromString(const std::string& text, const char* label = "blend space")

SaveToFile

C++
bool SaveToFile(const std::string& path) const

LoadFromFile

C++
bool LoadFromFile(const std::string& path)
Generated from Animation/BlendSpaceAssetData.h via animation.json · Dec 5, 2026Version 1.1.0