Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FCameraShakeState
Description
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.
| Name | Update |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Camera/CameraShakeBase.h |
| Include Path | #include "Camera/CameraShakeBase.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Camera/CameraShakeBase.cpp |
float Update
(
float DeltaTime
)
The evaluated blending weight (if any) for the new time
Parameters
| Name | Remarks |
|---|---|
| DeltaTime | The elapsed time since last update |