FMontageSubStepper::HasReachedEndOfSection
#include "Animation/AnimMontage.h"
Access: public
Specifiers: constinline
Description
Returns whether the most recent Advance() call landed exactly on the current section's boundary.
Caveats & Gotchas
- • Only reflects the outcome of the last Advance() call — it is not re-evaluated until Advance() runs again, so repeated reads between advances return a stale result.
- • Reaching a section boundary is not the same as reaching the end of the montage; the section may loop or jump elsewhere instead of stopping playback.
Signature
bool HasReachedEndOfSection() const { return bReachedEndOfSection; } Return Type
bool Example
Reacting to a section boundary C++
// Engine-internal usage after Advance()
if (MontageSubStepper.HasReachedEndOfSection())
{
// Resolve next section, looping, or blend-out
} Tags
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?