Navigation
API > API/Plugins > API/Plugins/GameplayCameras > API/Plugins/GameplayCameras/Math > API/Plugins/GameplayCameras/Math/FCriticalDamper > API/Plugins/GameplayCameras/Math/FCriticalDamper/Update
References
| Module | GameplayCameras |
| Header | /Engine/Plugins/Cameras/GameplayCameras/Source/GameplayCameras/Public/Math/CriticalDamper.h |
| Include | #include "Math/CriticalDamper.h" |
| Source | /Engine/Plugins/Cameras/GameplayCameras/Source/GameplayCameras/Private/Math/CriticalDamper.cpp |
float Update
(
float X,
float DeltaTime
)
Remarks
Updates the system, given a possibly forced position the system was moved to. The forced position should be last frame's result (also available with GetX0()) if the target wasn't moved. The system will converge towards 0. The new position of the system.
Parameters
| Name | Description |
|---|---|
| X | The forced position of the system. |
| DeltaTime | The elapsed time. |