UHeadMountedDisplayFunctionLibrary::GetWorldToMetersScale

Returns the World to Meters scale, which corresponds to the scale of the world as perceived by the player

Windows
MacOS
Linux

References

Module

HeadMountedDisplay

Header

/Engine/Source/Runtime/HeadMountedDisplay/Public/HeadMountedDisplayFunctionLibrary.h

Include

#include "HeadMountedDisplayFunctionLibrary.h"

Source

/Engine/Source/Runtime/HeadMountedDisplay/Private/HeadMountedDisplayFunctionLibrary.cpp

Syntax

static float GetWorldToMetersScale
(
    UObject * WorldContext
)

Remarks

Returns the World to Meters scale, which corresponds to the scale of the world as perceived by the player

Returns

How many Unreal units correspond to one meter in the real world

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss