FMontageSubStepper::ClearCachedData
#include "Animation/AnimMontage.h"
Access: public
Specifiers: inline
Description
Invalidates the cached combined play rate so it is recomputed the next time ConditionallyUpdateCachedData runs.
Caveats & Gotchas
- • Only invalidates Cached_CombinedPlayRate — it does not touch Cached_P_Target or Cached_P_Original, so it does not force a full re-cache of montage position data.
- • Intended to be called when something outside the sub-stepper's own tracking (e.g. an externally applied play rate change) invalidates the cached rate; the sub-stepper does not detect that on its own.
Signature
void ClearCachedData() { Cached_CombinedPlayRate = FLT_MAX; } Return Type
void Example
Forcing a play-rate recache after an external change C++
// Engine-internal usage, e.g. after PlayRate is changed externally
MontageSubStepper.ClearCachedData(); See Also
Tags
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?