FHoloLensARSystem::OnPinComponent

Pin an Unreal Component to a location in the world.

Windows
MacOS
Linux

Override Hierarchy

IARSystemSupport::OnPinComponent()

FHoloLensARSystem::OnPinComponent()

References

Module

HoloLensAR

Header

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

Include

#include "HoloLensARSystem.h"

Source

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

Syntax

virtual 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