IARSystemSupport::OnPinComponent

Pin an Unreal Component to a location in the world.

Windows
MacOS
Linux

Override Hierarchy

References

Module

AugmentedReality

Header

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

Include

#include "ARSystem.h"

Syntax

UARPin * OnPinComponent
(
    USceneComponent * ComponentToPin,
    const FTransform & PinToWorldTransform,
    UARTrackedGeometry * TrackedGeometry,
    const FName DebugName
)

Remarks

Pin an Unreal Component to a location in the world. Optionally, associate with a TrackedGeometry to receive transform updates that effectively attach the component to the geometry.

Returns

the UARPin object that is pinning the component to the world and (optionally) a TrackedGeometry

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