UARBlueprintLibrary::SetARWorldOriginLocationAndRotation

For a point P in the AR local space, whose location and rotation are "OriginLocation" and "OriginRotation" in the world space modify the alignment transform so that the same point P will be transformed to the origin in the world space.

Windows
MacOS
Linux

References

Module

AugmentedReality

Header

/Engine/Source/Runtime/AugmentedReality/Public/ARBlueprintLibrary.h

Include

#include "ARBlueprintLibrary.h"

Source

/Engine/Source/Runtime/AugmentedReality/Private/ARBlueprintLibrary.cpp

Syntax

static void SetARWorldOriginLocationAndRotation
(
    FVector OriginLocation,
    FRotator OriginRotation,
    bool bIsTransformInWorldSpace,
    bool bMaintainUpDirection
)

Remarks

For a point P in the AR local space, whose location and rotation are "OriginLocation" and "OriginRotation" in the world space modify the alignment transform so that the same point P will be transformed to the origin in the world space. : whether "OriginLocation" and "OriginRotation" are specified in UE4's world space or AR system's local space. : if set, only the yaw roation of the alignment transform will be modified, pitch and roll will be zeroed out.

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