AWorldSettings::SetTimeDilation

Sets the global time dilation value (subject to clamping). Returns the final value that was set.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/WorldSettings.h

Include

#include "GameFramework/WorldSettings.h"

Source

/Engine/Source/Runtime/Engine/Private/WorldSettings.cpp

Syntax

virtual float SetTimeDilation
(
    float NewTimeDilation
)

Remarks

Sets the global time dilation value (subject to clamping). Returns the final value that was set.