Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UProjectileMovementComponent
Description
Determine the number of frames to allow to skip when interpolating. Returning 0 means not to allow throttling. Default implementation chooses between ThrottleInterpolationThresholdNotRenderedShortTime and ThrottleInterpolationThresholdNotRenderedLongTime based on WasRecentlyRendered(), extend or override this for custom behavior.
| Name | ComputeThrottleInterpolationMaxFrames |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/ProjectileMovementComponent.h |
| Include Path | #include "GameFramework/ProjectileMovementComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/ProjectileMovementComponent.cpp |
virtual int32 ComputeThrottleInterpolationMaxFrames
(
float DeltaTime,
USceneComponent * InterpComponent
)