Navigation
API > API/Runtime > API/Runtime/AugmentedReality > API/Runtime/AugmentedReality/IARSystemSupport
Description
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.
| Name | OnPinComponent |
| Type | function |
| Header File | /Engine/Source/Runtime/AugmentedReality/Public/ARSystem.h |
| Include Path | #include "ARSystem.h" |
UARPin * OnPinComponent
(
USceneComponent * ComponentToPin,
const FTransform & PinToWorldTransform,
UARTrackedGeometry * TrackedGeometry,
const FName DebugName
)
the UARPin object that is pinning the component to the world and (optionally) a TrackedGeometry