Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/AWorldSettings
Description
Sets the global time dilation value (subject to clamping). Returns the final value that was set (which may be clamped) even if bAllowTimeDilation is set to false.
| Name | SetTimeDilation |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/WorldSettings.h |
| Include Path | #include "GameFramework/WorldSettings.h" |
| Source | /Engine/Source/Runtime/Engine/Private/WorldSettings.cpp |
virtual float SetTimeDilation
(
float NewTimeDilation
)