FARSystemProxy

This class acts as if there is a AR system present on the desktop that is receiving data from a remote device

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

RemoteSession

Header

/Engine/Plugins/Experimental/RemoteSession/Source/RemoteSession/Public/Channels/RemoteSessionARSystemChannel.h

Include

#include "Channels/RemoteSessionARSystemChannel.h"

Syntax

class FARSystemProxy :
    public IARSystemSupport,
    public FGCObject,
    public TSharedFromThis< FARSystemProxy, ESPMode::ThreadSafe >

Remarks

This class acts as if there is a AR system present on the desktop that is receiving data from a remote device

Constructors

Name Description

Public function

FARSystemProxy()

Only the factory method should construct this

Destructors

Name Description

Public function Virtual

~FARSystemProxy()

Functions

Name Description

Public function

void

 

AddTrackable

(
    UARTrackedGeometry* Added
)

Public function Static

void

 

Destroy()

Public function Static

TSharedPtr< ...

 

Get()

Public function Static

IARSystemSup...

 

GetARSystemPtr()

Public function

UARTrackedGe...

 

GetTrackable

(
    FGuid UniqueId
)

Public function

void

 

NotifyUpdated

(
    UARTrackedGeometry* Updated
)

Public function Virtual

UARTextureCa...

 

OnGetCameraDepth()

Public function Virtual

UARTextureCa...

 

OnGetCameraImage()

Public function

void

 

RemoveTrackable

(
    FGuid UniqueId
)

Public function

void

 

SetSessionConfig

(
    UARSessionConfig* InConfig
)

Public function

void

 

SetSupportedVideoFormats

(
    const TArray< FARVideoFormat >& In...
)

Methods called by the message handlers.

Overridden from IARSystemSupport

Name Description

Public function Virtual Const

UARPin *

 

FindARPinByComponent

(
    const USceneComponent* Compone...
)

Given a scene component find the ARPin which it is pinned by, if any.

Public function Virtual

void *

 

GetARSessionRawPointer()

Public function Virtual

void *

 

GetGameThreadARFrameRawPointer()

Public function Virtual Const

bool

 

IsARAvailable()

Returns true/false based on whether AR features are available

Public function Virtual

bool

 

OnAddManualEnvironmentCaptureProbe

(
    FVector Location,
    FVector Extent
)

Tells the ARSystem to generate a capture probe at the specified location if supported

Public function Virtual

bool

 

OnAddRuntimeCandidateImage

(
    UARSessionConfig* SessionConfi...,
    UTexture2D* CandidateTexture,
    FString FriendlyName,
    float PhysicalWidth
)

Add candidate image at runtime

Public function Virtual Const

TArray< UARP...

 

OnGetAllPins()

Public function Virtual Const

TArray< UART...

 

OnGetAllTrackedGeometries()

Public function Virtual Const

FARSessionSt...

 

OnGetARSessionStatus()

Public function Virtual Const

TSharedPtr< ...

 

OnGetCandidateObject

(
    FVector Location,
    FVector Extent
)

Generates a UARCandidateObject from the point cloud data within the location and its extent using an async task

Public function Virtual Const

UARLightEsti...

 

OnGetCurrentLightEstimate()

Not supported methods

Public function Virtual Const

TArray< FVec...

 

OnGetPointCloud()

Public function Virtual Const

TArray< FARV...

 

OnGetSupportedVideoFormats

(
    EARSessionType SessionType
)

Public function Virtual Const

EARTrackingQ...

 

OnGetTrackingQuality()

Public function Virtual Const

EARTrackingQ...

 

OnGetTrackingQualityReason()

Public function Virtual Const

EARWorldMapp...

 

OnGetWorldMappingStatus()

Public function Virtual Const

bool

 

OnIsTrackingTypeSupported

(
    EARSessionType SessionType
)

Public function Virtual

TArray< FART...

 

OnLineTraceTrackedObjects

(
    const FVector2D ScreenCoord,
    EARLineTraceChannels TraceChannels
)

Trace all the tracked geometries and determine which have been hit by a ray cast from `ScreenCoord_.

Public function Virtual

TArray< FART...

 

OnLineTraceTrackedObjects

(
    const FVector Start,
    const FVector End,
    EARLineTraceChannels TraceChannels
)

Public function Virtual

void

 

OnPauseARSession()

Stop the AR system but leave its internal state intact.

Public function Virtual

UARPin *

 

OnPinComponent

(
    USceneComponent* ComponentToPi...,
    const FTransform& PinToWorldTransf...,
    UARTrackedGeometry* TrackedGeo...,
    const FName DebugName
)

Pin an Unreal Component to a location in the world.

Public function Virtual

bool

 

OnPinComponentToARPin

(
    USceneComponent* ComponentToPi...,
    UARPin* Pin
)

Pin a component to an existing ARPin.

Public function Virtual

void

 

OnRemovePin

(
    UARPin* PinToRemove
)

Given a pin, remove it and stop updating the associated component based on the tracked geometry.

Public function Virtual Const

TSharedPtr< ...

 

OnSaveWorld()

Saves the AR world to a byte array using an async task

Public function Virtual

void

 

OnSetAlignmentTransform

(
    const FTransform& InAlignmentTrans...
)

Set a transform that will align the Tracking Space origin to the World Space origin.

Public function Virtual

void

 

OnStartARSession

(
    UARSessionConfig* Config
)

End todo block.

Public function Virtual

void

 

OnStopARSession()

Stop the AR system and reset its internal state; this task must succeed.

Overridden from FGCObject

Name Description

Public function Virtual

void

 

AddReferencedObjects

(
    FReferenceCollector& Collector
)

Pure virtual that must be overloaded by the inheriting class.

Constants

Name

Description

FactoryInstance

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