Navigation
API > API/Runtime > API/Runtime/AugmentedReality > API/Runtime/AugmentedReality/UARBlueprintLibrary
Description
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. @bIsTransformInWorldSpace: whether "OriginLocation" and "OriginRotation" are specified in UE4's world space or AR system's local space. @bMaintainUpDirection: if set, only the yaw roation of the alignment transform will be modified, pitch and roll will be zeroed out.
| Name | SetARWorldOriginLocationAndRotation |
| Type | function |
| Header File | /Engine/Source/Runtime/AugmentedReality/Public/ARBlueprintLibrary.h |
| Include Path | #include "ARBlueprintLibrary.h" |
| Source | /Engine/Source/Runtime/AugmentedReality/Private/ARBlueprintLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="AR AugmentedReality|Alignment",
Meta=(DisplayName="Set AR World Origin Location and Rotation", Keywords="ar augmentedreality augmented reality world origin"))
static void SetARWorldOriginLocationAndRotation
(
FVector OriginLocation,
FRotator OriginRotation,
bool bIsTransformInWorldSpace,
bool bMaintainUpDirection
)