RealDocs

FMontageSubStepper::Cached_P_Target

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

Description

Cached montage position in time-stretched "target" space, lazily recomputed from Cached_P_Original whenever the source position changes.

Caveats & Gotchas

  • Initialized to FLT_MAX as a sentinel meaning "not yet cached" — do not treat 0.f as the uninitialized state.
  • Only recalculated by FindMontagePosition_Target when the cache is invalidated; reading it directly can return a stale value if the underlying position changed without triggering a recompute.

Signature

float Cached_P_Target;

Example

Internal caching during position lookups C++
// Engine-internal: FMontageSubStepper::FindMontagePosition_Target()
// Cached_P_Target is refreshed only when Cached_P_Original no longer matches In_P_Original

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.