UHoloLensARFunctionLibrary::CreateNamedARPin

Create an [UARPin](API\Runtime\AugmentedReality\UARPin) with the specified name, which will also be the name used to store it in the Windows Mixed Reality Anchor Store.

Windows
MacOS
Linux

References

Module

HoloLensAR

Header

/Engine/Plugins/Runtime/AR/Microsoft/HoloLensAR/Source/HoloLensAR/Public/HoloLensARFunctionLibrary.h

Include

#include "HoloLensARFunctionLibrary.h"

Source

/Engine/Plugins/Runtime/AR/Microsoft/HoloLensAR/Source/HoloLensAR/Private/HoloLensARFunctionLibrary.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="HoloLensAR|ARPin",
          Meta=(Keywords="hololensar wmr pin ar all"))
static UWMRARPin * CreateNamedARPin
(
    FName Name,
    const FTransform & PinToWorldTransform
)

Remarks

Create an UARPin with the specified name, which will also be the name used to store it in the Windows Mixed Reality Anchor Store.

Parameters

Parameter

Description

Name

The name of the anchor. If the Name is already in use creation will fail. A leading "_" is reserved for automatically named anchors. Do not start your names with an underscore. The name 'None' is illegal.

PinToWorldTransform

The Pin which the component will be updated by.

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