Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/EngineTypes.h |
Include |
#include "Engine/EngineTypes.h" |
struct FAnimUpdateRateParameters
Container for Animation Update Rate parameters. They are shared for all components of an Actor, so they can be updated in sync.
Name | Description | ||
---|---|---|---|
|
float |
AdditionalTime |
Total time of the last series of skipped updates |
|
BaseNonRenderedUpdateRate |
Rate of animation evaluation when non rendered (off screen and dedicated servers). |
|
|
TArray< float > |
BaseVisibleDistanceFactorThesholds |
Array of MaxDistanceFactor to use for AnimUpdateRate when mesh is visible (rendered). |
|
uint8: 1 |
bInterpolateSkippedFrames |
When skipping a frame, should it be interpolated or frozen? |
|
uint8: 1 |
bShouldUseLodMap |
Whether or not to use the defined LOD/Frameskip map instead of separate distance factor thresholds |
|
uint8: 1 |
bShouldUseMinLod |
If set, LOD/Frameskip map will be queried with mesh's MinLodModel instead of current LOD (PredictedLODLevel) |
|
uint8: 1 |
bSkipEvaluation |
(This frame) animation evaluation should be skipped. |
|
uint8: 1 |
bSkipUpdate |
(This frame) animation update should be skipped. |
|
EvaluationRate |
How often animation will be evaluated. |
|
|
LODToFrameSkipMap |
Map of LOD levels to frame skip amounts. |
|
|
MaxEvalRateForInterpolation |
Max Evaluation Rate allowed for interpolation to be enabled. |
|
|
OptimizeMode |
Cache which Update Rate Optimization mode we are using |
|
|
ShiftBucket |
The bucket to use when deciding which counter to use to calculate shift values |
|
|
SkippedEvalFrames |
Number of evaluate frames that have been skipped in a row |
|
|
SkippedUpdateFrames |
Number of update frames that have been skipped in a row |
|
|
float |
ThisTickDelta |
The delta time of the last tick |
|
float |
TickedPoseOffestTime |
Track time we have lost via skipping |
|
UpdateRate |
How often animation will be updated/ticked. 1 = every frame, 2 = every 2 frames, etc. |
Name | Description | |
---|---|---|
|
FAnimUpdateRateParameters() |
Default constructor. |
Name | Description | ||
---|---|---|---|
|
DoEvaluationRateOptimizations() |
Return true if evaluation rate should be optimized at all |
|
|
float |
GetInterpolationAlpha() |
Amount to interpolate bone transforms |
|
float |
GetRootMotionInterp() |
Amount to interpoilate root motion |
|
float |
GetTimeAdjustment() |
Called when we are ticking a pose to make sure we accumulate all needed time |
|
GetUpdateRateDebugColor() |
Returns color to use for debug UI |
|
|
SetLookAheadMode ( |
Set parameters and verify inputs for Lookahead mode, which handles Root Motion |
|
|
SetTrailMode |
Set parameters and verify inputs for Trail Mode (original behaviour - skip frames, track skipped time and then catch up afterwards). |
|
|
ShouldInterpolateSkippedFrames() |
Getter for bInterpolateSkippedFrames |
|
|
ShouldSkipEvaluation() |
Getter for bSkipEvaluation |
|
|
ShouldSkipUpdate() |
Getter for bSkipUpdate |
Name |
Description |
|
---|---|---|
|
EOptimizeMode |