FMontageSubStepper::Cached_P_Original
#include "Animation/AnimMontage.h"
Access: private
Description
Records the "original" authored-space position that Cached_P_Target was last derived from, used to detect when the target-space cache needs recomputing.
Caveats & Gotchas
- • Shares the same FLT_MAX sentinel convention as Cached_P_Target — both start invalid and are only meaningful once a position lookup has run at least once.
- • This is not the montage's current playback position; it is only the position the cache was last computed for, which can lag behind the live position by one lookup.
Signature
float Cached_P_Original; Example
Internal cache invalidation check C++
// Engine-internal: FMontageSubStepper::FindMontagePosition_Target()
// if (Cached_P_Original != In_P_Original) { /* recompute Cached_P_Target */ } Tags
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?