Navigation
API > API/Plugins > API/Plugins/XRBase > API/Plugins/XRBase/UHeadMountedDisplayFunctionLibra-
References
| Module | XRBase |
| Header | /Engine/Plugins/Runtime/XRBase/Source/XRBase/Public/HeadMountedDisplayFunctionLibrary.h |
| Include | #include "HeadMountedDisplayFunctionLibrary.h" |
| Source | /Engine/Plugins/Runtime/XRBase/Source/XRBase/Private/HeadMountedDisplayFunctionLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="Input|HeadMountedDisplay",
Meta=(WorldContext="WorldContext"))
static void SetWorldToMetersScale
(
UObject * WorldContext,
float NewScale
)
Remarks
Sets the World to Meters scale, which changes the scale of the world as perceived by the player
Parameters
| Name | Description |
|---|---|
| NewScale | Specifies how many Unreal units correspond to one meter in the real world |