FCameraShakeState::Update

Updates the state with a delta time.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Camera/CameraShakeBase.h

Include

#include "Camera/CameraShakeBase.h"

Source

/Engine/Source/Runtime/Engine/Private/Camera/CameraShakeBase.cpp

Syntax

float Update
(
    float DeltaTime
)

Remarks

Updates the state with a delta time.

If the state isn't managed (i.e. it doesn't have any fixed duration information), this doesn't do anything and returns 1.

If the state is managed, this updates the internal state of this class and auto-computes when the shake has ended, along with a blending weight if there is any blending in/out.

Returns

The evaluated blending weight (if any) for the new time

Parameters

Parameter

Description

DeltaTime

The elapsed time since last update

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