Navigation
Unreal Engine C++ API Reference > Runtime > Engine > GameFramework > AWorldSettings
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 |
virtual float GetGravityZ&40;&41; const
Remarks
Returns the Z component of the current world gravity and initializes it to the default gravity if called for the first time. Z component of current world gravity.