class

Montage

Module
Animation
Header
#include "Animation/Montage.h"
Namespace
Mowo

Properties

TypeNameDescription
std::stringnameStable identity: the montage asset's own name, or the sidecar row's name for a montage still living in a model's .manimmeta. Replication hashes THIS into the montage id, so a montage keeps its wire identity when the file is renamed or moved and loses it only if the author renames the montage itself.
int32_tclipIndexDefault -1.
floatblendInTimeDefault 0.1f.
floatblendOutTimeDefault 0.15f.
floatplayRateDefault 1.0f.
std::stringslotNameDefault "DefaultSlot".
std::vector<MontageSection>sections
std::vector<MontageNotify>notifies
std::vector<MontageCurve>curves

Public functions

ReturnsNameDescription
voidAddSection
voidAddSection
const MontageSection*FindSection
intIndexOfSection-1 if absent
voidAddNotifyKeeps notifies sorted by time — the player walks it in order and relies on the first hit in an interval being the earliest.
MontageCurve&CurveFor
const MontageCurve*FindCurve
int32_tClipIndexForSectionThe clip a section plays from, resolving the -1 fallback.
floatSampleCurve

Function details

AddSection

C++
void AddSection(const std::string& name, float start, float end, const std::string& next = "")

AddSection

C++
void AddSection(const std::string& name, float start, float end, const std::string& next, int32_t sectionClipIndex)

FindSection

C++
const MontageSection* FindSection(const std::string& name) const

IndexOfSection

C++
int IndexOfSection(const std::string& name) const

-1 if absent

AddNotify

C++
void AddNotify(const std::string& name, float time, bool branchingPoint = false)

Keeps notifies sorted by time — the player walks it in order and relies on the first hit in an interval being the earliest.

CurveFor

C++
MontageCurve& CurveFor(const std::string& name)

FindCurve

C++
const MontageCurve* FindCurve(const std::string& name) const

ClipIndexForSection

C++
int32_t ClipIndexForSection(int32_t sectionIndex) const

The clip a section plays from, resolving the -1 fallback.

SampleCurve

C++
static float SampleCurve(const MontageCurve& curve, float time)
Generated from Animation/Montage.h via animation.json · Oct 26, 2026Version 1.0.0