UARPin

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

AugmentedReality

Header

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

Include

#include "ARPin.h"

Syntax

class UARPin : public UObject

Functions

Name Description

Public function Virtual Const

void

 

DebugDraw

(
    UWorld* World,
    const FLinearColor& Color,
    float Scale,
    float PersistForSeconds
)

Protected function Const

TSharedPtr< ...

 

GetARSystem()

Public function Const

FName

 

GetDebugName()

Public function Const

FTransform

 

GetLocalToTrackingTransform()

Maps from a Pin's Local Space to the Tracking Space.

Public function Const

FTransform

 

GetLocalToTrackingTransform_NoAlignment()

Public function Const

FTransform

 

GetLocalToWorldTransform()

Convenience function. Same as LocalToTrackingTransform, but appends the TrackingToWorld Transform.

Public function

void *

 

GetNativeResource()

Public function Const

USceneCompon...

 

GetPinnedComponent()

Public function Const

UARTrackedGe...

 

GetTrackedGeometry()

The TrackedGeometry (if any) that this this pin is being "stuck" into.

Public function Const

EARTrackingS...

 

GetTrackingState()

Return the current tracking state of this Pin.

Public function Virtual

void

 

InitARPin

(
    const TSharedRef< FARSupportInterfa...,
    USceneComponent* InComponentTo...,
    const FTransform& InLocalToTrackin...,
    UARTrackedGeometry* InTrackedG...,
    const FName InDebugName
)

Public function

void

 

OnTrackingStateChanged

(
    EARTrackingState NewTrackingState
)

Notify the ARPin about changes to how it is being tracked.

Public function

void

 

OnTransformUpdated

(
    const FTransform& NewLocalToTracki...
)

Notify this UARPin that the transform of the Pin has changed

Public function

void

 

SetNativeResource

(
    void* InNativeResource
)

Public function

void

 

SetOnARTrackingStateChanged

(
    const FOnARTrackingStateChanged& I...
)

Public function

void

 

SetOnARTransformUpdated

(
    const FOnARTransformUpdated& InHan...
)

Public function

void

 

SetPinnedComponent

(
    USceneComponent* InComponentTo...
)

Public function

void

 

UpdateAlignmentTransform

(
    const FTransform& NewAlignmentTran...
)

Notify the UARPin that the AlignmentTransform has changing.

Constants

Name

Description

DebugPinId

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