RealDocs

FMontageSubStepper::TimeRemaining

property Engine Since unknown
#include "Animation/AnimMontage.h"
Access: private

Description

How much evaluation time is still left to sub-step through this tick; drained by successive Advance() calls and refilled by AddEvaluationTime().

Caveats & Gotchas

  • Exposed only indirectly through HasTimeRemaining() and GetRemainingTime(); there is no direct setter besides AddEvaluationTime().
  • The sub-stepping loop terminates when this drops to or below UE_SMALL_NUMBER, not exactly zero, to avoid floating point spin.

Signature

float TimeRemaining;

Return Type

float

Example

Checking for remaining time C++
// Engine-internal usage
MontageSubStepper.AddEvaluationTime(DeltaTime);
while (MontageSubStepper.HasTimeRemaining())
{
	// ... Advance() ...
}

Version History

Introduced in: unknown

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.