UAnimInstance::MakeMontageTickRecord
#include "Animation/AnimInstance.h"
Access: public
Description
Builds the per-tick evaluation record for a montage, computing which sync markers were crossed and the weighted contribution of the montage to the pose. This is part of the internal montage evaluation pipeline.
Caveats & Gotchas
- • This is an internal engine function; you should not call it directly. It is public only because it needs to be accessible from the anim proxy. Incorrect MoveDelta or Weight values will corrupt montage playback timing.
- • MarkersPassedThisTick is populated as an output — ensure the array is either cleared or passed fresh each call to avoid accumulating stale markers across frames.
Signature
ENGINE_API void MakeMontageTickRecord(FAnimTickRecord& TickRecord, class UAnimMontage* Montage, float MoveDelta, float Weight, TArray<FPassedMarker>& MarkersPassedThisTick, FMarkerTickRecord& MarkerTickRecord); Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| TickRecord | FAnimTickRecord& | Output record to populate with montage playback state for this tick. | — |
| Montage | class UAnimMontage* | The montage being ticked. | — |
| MoveDelta | float | How far the montage position advances this frame. | — |
| Weight | float | Blend weight of the montage for this tick. | — |
| MarkersPassedThisTick | TArray<FPassedMarker>& | Array to receive sync markers that were crossed during this tick. | — |
| MarkerTickRecord | FMarkerTickRecord& | Persistent marker tick state maintained between frames. | — |
Return Type
void Example
Internal montage evaluation (engine reference) C++
// This is called internally by the engine — shown for educational purposes.
// FAnimMontageInstance::Advance calls MakeMontageTickRecord as part of pose evaluation.
// Do not call this manually unless building custom anim evaluation pipelines. Tags
Version History
Introduced in: 4.9
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?