Navigation
Unreal Engine C++ API Reference > Editor > ViewportInteraction > UViewportWorldInteraction
References
Module | ViewportInteraction |
Header | /Engine/Source/Editor/ViewportInteraction/Public/ViewportWorldInteraction.h |
Include | #include "ViewportWorldInteraction.h" |
Source | /Engine/Source/Editor/ViewportInteraction/Private/ViewportWorldInteraction.cpp |
UFUNCTION (BlueprintCallable, Category="ViewportWorldInteraction")
FTransform GetRoomTransform() const
Remarks
Gets the world space transform of the calibrated VR room origin. When using a seated VR device, this will feel like the camera's world transform (before any HMD positional or rotation adjustments are applied.)