Navigation
API > API/Editor > API/Editor/ViewportInteraction > API/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")
void SetHeadTransform
(
const FTransform & NewHeadTransform
)
Remarks
Sets a new transform for the room so that the HMD is aligned to the new transform. The Head is kept level to the ground and only rotated on the yaw