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&40;BlueprintCallable, Category&61;"Input&124;HeadMountedDisplay",
Meta&61;&40;WorldContext&61;"WorldContext"&41;&41;
static void SetWorldToMetersScale
&40;
UObject &42; WorldContext,
float NewScale
&41;
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 |