RealDocs

FMontageSubStepper::GetDeltaMove

function Engine Since unknown
#include "Animation/AnimMontage.h"
Access: public Specifiers: constinline

Description

Returns the montage-position delta produced by the most recent Advance() call.

Caveats & Gotchas

  • Reflects the last Advance() call only — if Advance() hasn't run since the last read, the value is stale rather than zero.
  • Can be negative when the sub-stepper is playing backward, so callers that assume a forward-only delta will get incorrect results during reverse playback.

Signature

float GetDeltaMove() const { return DeltaMove; }

Return Type

float

Example

Reading the position delta after a sub-step C++
// Engine-internal usage after Advance()
float Delta = MontageSubStepper.GetDeltaMove();

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.