Navigation
API > API/Editor > API/Editor/ViewportInteraction > API/Editor/ViewportInteraction/UViewportWorldInteraction
Description
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
| Name | SetHeadTransform |
| 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")
void SetHeadTransform
(
const FTransform & NewHeadTransform
)