class
Montage
- Module
- Animation
- Header
#include "Animation/Montage.h"- Namespace
Mowo
Properties
| Type | Name | Description |
|---|---|---|
std::string | name | Stable 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_t | clipIndex | Default -1. |
float | blendInTime | Default 0.1f. |
float | blendOutTime | Default 0.15f. |
float | playRate | Default 1.0f. |
std::string | slotName | Default "DefaultSlot". |
std::vector<MontageSection> | sections | |
std::vector<MontageNotify> | notifies | |
std::vector<MontageCurve> | curves |
Public functions
| Returns | Name | Description |
|---|---|---|
void | AddSection | |
void | AddSection | |
const MontageSection* | FindSection | |
int | IndexOfSection | -1 if absent |
void | AddNotify | Keeps 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_t | ClipIndexForSection | The clip a section plays from, resolving the -1 fallback. |
float | SampleCurve |
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) constIndexOfSection
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) constClipIndexForSection
C++
int32_t ClipIndexForSection(int32_t sectionIndex) constThe 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