UViewportWorldInteraction::CompensateRoomTransformForWorldScale

Calculate a new room transform location according to the world to meters scale

Windows
MacOS
Linux

References

Module

ViewportInteraction

Header

/Engine/Source/Editor/ViewportInteraction/Public/ViewportWorldInteraction.h

Include

#include "ViewportWorldInteraction.h"

Syntax

void CompensateRoomTransformForWorldScale
(
    FTransform & InOutRoomTransform,
    const float InNewWorldToMetersScale,
    const FVector & InRoomPivotLocation
)

Remarks

Calculate a new room transform location according to the world to meters scale

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