Ajouter Unreal Engine get world Settings

2025-12-27 15:57:27 +00:00
parent 715a012f33
commit cc6c56b154

@@ -0,0 +1,14 @@
Using dumper-7 SDK, it's possible to retrieve World settings
# Getting World
```
UWorld* world = UWorld::GetWorld();
if (!world) return;
```
# Retrieve World settings
```
AWorldSettings* worldSettings = world->K2_GetWorldSettings();
if (worldSettings)
worldSettings->TimeDilation = 0.5f; // Set world time dilation half speed. This affects everything (Pawns, physics ...)
```