Navigation
API > API/Runtime > API/Runtime/AugmentedReality > API/Runtime/AugmentedReality/UARBlueprintLibrary
Description
Helper function that modifies the alignment transform scale so that virtual content in the world space appears to be "scaled". Note that ultimately the scaling effect is achieved through modifying the translation of the camera: moving the camera further away from the origin makes objects appear to be smaller, and vice versa.
| Name | SetARWorldScale |
| 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 Scale", Keywords="ar augmentedreality augmented reality world scale"))
static void SetARWorldScale
(
float InWorldScale
)