FMontageSubStepper::GetRemainingTime
#include "Animation/AnimMontage.h"
Access: public
Specifiers: constinline
Description
Returns the delta time still queued for the sub-stepper to consume across subsequent Advance() calls.
Caveats & Gotchas
- • Reflects TimeRemaining as of the last AddEvaluationTime()/Advance() call — mid-loop reads give a snapshot, not a value that updates itself between calls.
- • Const accessor with no side effects, safe to call repeatedly for diagnostics without affecting stepping state.
Signature
float GetRemainingTime() const { return TimeRemaining; } Return Type
float Example
Checking leftover time mid-loop C++
// Engine-internal diagnostic usage
UE_LOG(LogAnimMontage, Verbose, TEXT("Remaining sub-step time: %f"), MontageSubStepper.GetRemainingTime()); Tags
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?