FAnimUpdateRateParameters::SetTrailMode

Set parameters and verify inputs for Trail Mode (original behaviour - skip frames, track skipped time and then catch up afterwards).

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/EngineTypes.h

Include

#include "Engine/EngineTypes.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/SkinnedMeshComponent.cpp

Syntax

void SetTrailMode
(
    float DeltaTime,
    uint8 UpdateRateShift,
    int32 NewUpdateRate,
    int32 NewEvaluationRate,
    bool bNewInterpSkippedFrames
)

Remarks

Set parameters and verify inputs for Trail Mode (original behaviour - skip frames, track skipped time and then catch up afterwards).

Parameters

Parameter

Description

  1. Shift our update frames so that updates across all skinned components are staggered

  1. How often animation will be updated/ticked. 1 = every frame, 2 = every 2 frames, etc.

  1. How often animation will be evaluated. 1 = every frame, 2 = every 2 frames, etc.

  1. When skipping a frame, should it be interpolated or frozen?

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss