Navigation
API > API/Editor > API/Editor/ViewportInteraction > API/Editor/ViewportInteraction/UViewportWorldInteraction
Description
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.)
| Name | GetRoomTransform |
| Type | function |
| Header File | /Engine/Source/Editor/ViewportInteraction/Public/ViewportWorldInteraction.h |
| Include Path | #include "ViewportWorldInteraction.h" |
| Source | /Engine/Source/Editor/ViewportInteraction/Private/ViewportWorldInteraction.cpp |
UFUNCTION (BlueprintCallable, Category="ViewportWorldInteraction")
FTransform GetRoomTransform() const