FMontageSubStepper::bReachedEndOfSection
#include "Animation/AnimMontage.h"
Access: private
Description
Set by Advance() when the sub-step landed exactly on the current section's boundary, signalling the caller should evaluate a section change, loop, or blend-out.
Caveats & Gotchas
- • Read via HasReachedEndOfSection() rather than directly; it reflects the result of the most recent Advance() call only, not a sticky end-of-montage state.
- • Reaching the end of a section is not the same as reaching the end of the montage — a section can loop to itself or jump to another section instead of ending playback.
Signature
bool 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?