Navigation
API > API/Runtime > API/Runtime/AugmentedReality > API/Runtime/AugmentedReality/UARBlueprintLibrary
Description
Associate a component with an ARPin, so that its transform will be updated by the pin. Any previously associated component will be detached.
| Name | PinComponentToARPin |
| 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|ARPin",
Meta=(Keywords="ar augmentedreality augmented reality tracking arpin tracked geometry pinning anchor"))
static bool PinComponentToARPin
(
USceneComponent * ComponentToPin,
UARPin * Pin
)
True if the operation was successful.
Parameters
| Name | Remarks |
|---|---|
| ComponentToPin | The Component which will be updated by the Pin. |
| Pin | The Pin which the component will be updated by. |