UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FARSupportInterface Class Reference

#include <ARSupportInterface.h>

+ Inheritance diagram for FARSupportInterface:

Public Member Functions

UE_API FARSupportInterface (IARSystemSupport *InARImplementation, IXRTrackingSystem *InXRTrackingSystem)
 
virtual UE_API ~FARSupportInterface ()
 
UE_API void InitializeARSystem ()
 
UE_API IXRTrackingSystemGetXRTrackingSystem ()
 
UE_API bool StartARGameFrame (FWorldContext &WorldContext)
 
UE_API const FTransformGetAlignmentTransform () const
 
UE_API const UARSessionConfigGetSessionConfig () const
 
UE_API UARSessionConfigAccessSessionConfig ()
 
UE_API EARTrackingQuality GetTrackingQuality () const
 
UE_API EARTrackingQualityReason GetTrackingQualityReason () const
 
UE_API void StartARSession (UARSessionConfig *InSessionConfig)
 
UE_API void PauseARSession ()
 
UE_API void StopARSession ()
 
UE_API FARSessionStatus GetARSessionStatus () const
 
UE_API bool IsSessionTypeSupported (EARSessionType SessionType) const
 
UE_API bool ToggleARCapture (const bool bOnOff, const EARCaptureType CaptureType)
 
UE_API void SetEnabledXRCamera (bool bOnOff)
 
UE_API FIntPoint ResizeXRCamera (const FIntPoint &InSize)
 
UE_API void SetAlignmentTransform (const FTransform &InAlignmentTransform)
 
UE_API TArray< FARTraceResultLineTraceTrackedObjects (const FVector2D ScreenCoords, EARLineTraceChannels TraceChannels)
 
UE_API TArray< FARTraceResultLineTraceTrackedObjects (const FVector Start, const FVector End, EARLineTraceChannels TraceChannels)
 
UE_API TArray< UARTrackedGeometry * > GetAllTrackedGeometries () const
 
UE_API TArray< UARPin * > GetAllPins () const
 
UE_API bool IsEnvironmentCaptureSupported () const
 
UE_API bool AddManualEnvironmentCaptureProbe (FVector Location, FVector Extent)
 
UE_API TSharedPtr< FARGetCandidateObjectAsyncTask, ESPMode::ThreadSafeGetCandidateObject (FVector Location, FVector Extent) const
 
UE_API TSharedPtr< FARSaveWorldAsyncTask, ESPMode::ThreadSafeSaveWorld () const
 
UE_API EARWorldMappingState GetWorldMappingStatus () const
 
UE_API UARLightEstimateGetCurrentLightEstimate () const
 
UE_API UARPinPinComponent (USceneComponent *ComponentToPin, const FTransform &PinToWorldTransform, UARTrackedGeometry *TrackedGeometry=nullptr, const FName DebugName=NAME_None)
 
UE_API UARPinPinComponent (USceneComponent *ComponentToPin, const FARTraceResult &HitResult, const FName DebugName=NAME_None)
 
UE_API void RemovePin (UARPin *PinToRemove)
 
UE_API bool TryGetOrCreatePinForNativeResource (void *InNativeResource, const FString &InAnchorName, UARPin *&OutAnchor)
 
UE_API TArray< FARVideoFormatGetSupportedVideoFormats (EARSessionType SessionType=EARSessionType::World) const
 
UE_API TArray< FVectorGetPointCloud () const
 
UE_API UARCandidateImageAddRuntimeCandidateImage (UARSessionConfig *SessionConfig, UTexture2D *CandidateTexture, FString FriendlyName, float PhysicalWidth)
 
UE_API voidGetARSessionRawPointer ()
 
UE_API voidGetGameThreadARFrameRawPointer ()
 
UE_API bool IsSessionTrackingFeatureSupported (EARSessionType SessionType, EARSessionTrackingFeature SessionTrackingFeature) const
 
UE_API TArray< FARPose2DGetTracked2DPose () const
 
UE_API bool IsSceneReconstructionSupported (EARSessionType SessionType, EARSceneReconstruction SceneReconstructionMethod) const
 
UE_API bool AddTrackedPointWithName (const FTransform &WorldTransform, const FString &PointName, bool bDeletePointsWithSameName)
 
UE_API int32 GetNumberOfTrackedFacesSupported () const
 
UE_API UARTextureGetARTexture (EARTextureType TextureType) const
 
UE_API bool GetCameraIntrinsics (FARCameraIntrinsics &OutCameraIntrinsics) const
 
UE_API bool IsARAvailable () const
 
virtual UE_API void AddReferencedObjects (FReferenceCollector &Collector) override
 
virtual FString GetReferencerName () const override
 
UE_API bool PinComponent (USceneComponent *ComponentToPin, UARPin *Pin)
 
UE_API bool IsLocalPinSaveSupported () const
 
UE_API bool ArePinsReadyToLoad ()
 
UE_API void LoadARPins (TMap< FName, UARPin * > &LoadedPins)
 
UE_API bool SaveARPin (FName InName, UARPin *InPin)
 
UE_API void RemoveSavedARPin (FName InName)
 
UE_API void RemoveAllSavedARPins ()
 
- Public Member Functions inherited from TSharedFromThis< FARSupportInterface, ESPMode::ThreadSafe >
TSharedRef< FARSupportInterface, Mode > AsShared ()
 
TSharedRef< FARSupportInterface const, Mode > AsShared () const
 
TSharedRef< SubobjectType, Mode > AsSharedSubobject (SubobjectType *SubobjectPtr) const
 
TWeakPtr< FARSupportInterface, Mode > AsWeak ()
 
TWeakPtr< FARSupportInterface const, Mode > AsWeak () const
 
TWeakPtr< SubobjectType, Mode > AsWeakSubobject (SubobjectType *SubobjectPtr) const
 
void UpdateWeakReferenceInternal (TSharedPtr< SharedPtrType, SharedPtrMode > const *InSharedPtr, OtherType *InObject) const
 
void UpdateWeakReferenceInternal (TSharedRef< SharedRefType, SharedPtrMode > const *InSharedRef, OtherType *InObject) const
 
UE_FORCEINLINE_HINT bool DoesSharedInstanceExist () const
 
- Public Member Functions inherited from FGCObject
 FGCObject ()
 
 FGCObject (const FGCObject &Other)
 
 FGCObject (FGCObject &&Other)
 
 FGCObject (EFlags Flags)
 
virtual ~FGCObject ()
 
FGCObjectoperator= (const FGCObject &)
 
FGCObjectoperator= (FGCObject &&)
 
COREUOBJECT_API void RegisterGCObject ()
 
COREUOBJECT_API void UnregisterGCObject ()
 
virtual bool GetReferencerPropertyName (UObject *Object, FString &OutPropertyName) const
 

Static Public Member Functions

static FName GetModularFeatureName ()
 
- Static Public Member Functions inherited from FGCObject
static COREUOBJECT_API void StaticInit ()
 

Public Attributes

FARSystemOnSessionStarted OnARSessionStarted
 
FARSystemOnAlignmentTransformUpdated OnAlignmentTransformUpdated
 

Additional Inherited Members

- Public Types inherited from FGCObject
enum class  EFlags : uint32 { None = 0 , RegisterLater = 1 << 0 , AddStableNativeReferencesOnly = 1 << 1 }
 
- Static Public Attributes inherited from FGCObject
static COREUOBJECT_API UGCObjectReferencerGGCObjectReferencer = nullptr
 
- Protected Member Functions inherited from TSharedFromThis< FARSupportInterface, ESPMode::ThreadSafe >
 TSharedFromThis ()
 
 TSharedFromThis (TSharedFromThis const &)
 
UE_FORCEINLINE_HINT TSharedFromThisoperator= (TSharedFromThis const &)
 
 ~TSharedFromThis ()
 
- Static Protected Member Functions inherited from TSharedFromThis< FARSupportInterface, ESPMode::ThreadSafe >
static UE_FORCEINLINE_HINT TSharedRef< OtherType, Mode > SharedThis (OtherType *ThisPtr)
 
static UE_FORCEINLINE_HINT TSharedRef< OtherType const, Mode > SharedThis (const OtherType *ThisPtr)
 

Detailed Description

Composition Components for tracking system features

Constructor & Destructor Documentation

◆ FARSupportInterface()

FARSupportInterface::FARSupportInterface ( IARSystemSupport InARImplementation,
IXRTrackingSystem InXRTrackingSystem 
)

◆ ~FARSupportInterface()

FARSupportInterface::~FARSupportInterface ( )
virtual

Member Function Documentation

◆ AccessSessionConfig()

UARSessionConfig & FARSupportInterface::AccessSessionConfig ( )

◆ AddManualEnvironmentCaptureProbe()

bool FARSupportInterface::AddManualEnvironmentCaptureProbe ( FVector  Location,
FVector  Extent 
)
See also
UARBlueprintLibrary::AddEnvironmentCaptureProbe()

◆ AddReferencedObjects()

void FARSupportInterface::AddReferencedObjects ( FReferenceCollector Collector)
overridevirtual

Pure virtual that must be overloaded by the inheriting class. Use this method to serialize any UObjects contained that you wish to keep around.

Parameters
CollectorThe collector of referenced objects.

Implements FGCObject.

◆ AddRuntimeCandidateImage()

UARCandidateImage * FARSupportInterface::AddRuntimeCandidateImage ( UARSessionConfig SessionConfig,
UTexture2D CandidateTexture,
FString  FriendlyName,
float  PhysicalWidth 
)

◆ AddTrackedPointWithName()

bool FARSupportInterface::AddTrackedPointWithName ( const FTransform WorldTransform,
const FString &  PointName,
bool  bDeletePointsWithSameName 
)

◆ ArePinsReadyToLoad()

bool FARSupportInterface::ArePinsReadyToLoad ( )

◆ GetAlignmentTransform()

const FTransform & FARSupportInterface::GetAlignmentTransform ( ) const

◆ GetAllPins()

TArray< UARPin * > FARSupportInterface::GetAllPins ( ) const

◆ GetAllTrackedGeometries()

TArray< UARTrackedGeometry * > FARSupportInterface::GetAllTrackedGeometries ( ) const
See also
UARBlueprintLibrary::GetAllTrackedGeometries()

◆ GetARSessionRawPointer()

void * FARSupportInterface::GetARSessionRawPointer ( )

◆ GetARSessionStatus()

FARSessionStatus FARSupportInterface::GetARSessionStatus ( ) const

◆ GetARTexture()

UARTexture * FARSupportInterface::GetARTexture ( EARTextureType  TextureType) const

◆ GetCameraIntrinsics()

bool FARSupportInterface::GetCameraIntrinsics ( FARCameraIntrinsics OutCameraIntrinsics) const

◆ GetCandidateObject()

TSharedPtr< FARGetCandidateObjectAsyncTask, ESPMode::ThreadSafe > FARSupportInterface::GetCandidateObject ( FVector  Location,
FVector  Extent 
) const

Creates an async task that will perform the work in the background

◆ GetCurrentLightEstimate()

UARLightEstimate * FARSupportInterface::GetCurrentLightEstimate ( ) const

◆ GetGameThreadARFrameRawPointer()

void * FARSupportInterface::GetGameThreadARFrameRawPointer ( )

◆ GetModularFeatureName()

static FName FARSupportInterface::GetModularFeatureName ( )
inlinestatic

◆ GetNumberOfTrackedFacesSupported()

int32 FARSupportInterface::GetNumberOfTrackedFacesSupported ( ) const

◆ GetPointCloud()

TArray< FVector > FARSupportInterface::GetPointCloud ( ) const
Returns
the current point cloud data for the ar scene

◆ GetReferencerName()

virtual FString FARSupportInterface::GetReferencerName ( ) const
inlineoverridevirtual

Overload this method to report a name for your referencer

Implements FGCObject.

◆ GetSessionConfig()

const UARSessionConfig & FARSupportInterface::GetSessionConfig ( ) const

◆ GetSupportedVideoFormats()

TArray< FARVideoFormat > FARSupportInterface::GetSupportedVideoFormats ( EARSessionType  SessionType = EARSessionType::World) const

◆ GetTracked2DPose()

TArray< FARPose2D > FARSupportInterface::GetTracked2DPose ( ) const
See also
UARBlueprintLibrary::GetTracked2DPose()

◆ GetTrackingQuality()

EARTrackingQuality FARSupportInterface::GetTrackingQuality ( ) const

◆ GetTrackingQualityReason()

EARTrackingQualityReason FARSupportInterface::GetTrackingQualityReason ( ) const

◆ GetWorldMappingStatus()

EARWorldMappingState FARSupportInterface::GetWorldMappingStatus ( ) const
Returns
the current mapping status

◆ GetXRTrackingSystem()

IXRTrackingSystem * FARSupportInterface::GetXRTrackingSystem ( )

◆ InitializeARSystem()

void FARSupportInterface::InitializeARSystem ( )

◆ IsARAvailable()

bool FARSupportInterface::IsARAvailable ( ) const

◆ IsEnvironmentCaptureSupported()

UE_API bool FARSupportInterface::IsEnvironmentCaptureSupported ( ) const
See also
UARBlueprintLibrary::IsEnvironmentCaptureSupported()

◆ IsLocalPinSaveSupported()

bool FARSupportInterface::IsLocalPinSaveSupported ( ) const

◆ IsSceneReconstructionSupported()

bool FARSupportInterface::IsSceneReconstructionSupported ( EARSessionType  SessionType,
EARSceneReconstruction  SceneReconstructionMethod 
) const

◆ IsSessionTrackingFeatureSupported()

bool FARSupportInterface::IsSessionTrackingFeatureSupported ( EARSessionType  SessionType,
EARSessionTrackingFeature  SessionTrackingFeature 
) const

◆ IsSessionTypeSupported()

bool FARSupportInterface::IsSessionTypeSupported ( EARSessionType  SessionType) const

◆ LineTraceTrackedObjects() [1/2]

TArray< FARTraceResult > FARSupportInterface::LineTraceTrackedObjects ( const FVector  Start,
const FVector  End,
EARLineTraceChannels  TraceChannels 
)

◆ LineTraceTrackedObjects() [2/2]

TArray< FARTraceResult > FARSupportInterface::LineTraceTrackedObjects ( const FVector2D  ScreenCoords,
EARLineTraceChannels  TraceChannels 
)

◆ LoadARPins()

void FARSupportInterface::LoadARPins ( TMap< FName, UARPin * > &  LoadedPins)

◆ PauseARSession()

void FARSupportInterface::PauseARSession ( )

◆ PinComponent() [1/3]

UARPin * FARSupportInterface::PinComponent ( USceneComponent *  ComponentToPin,
const FARTraceResult HitResult,
const FName  DebugName = NAME_None 
)

◆ PinComponent() [2/3]

UARPin * FARSupportInterface::PinComponent ( USceneComponent *  ComponentToPin,
const FTransform PinToWorldTransform,
UARTrackedGeometry TrackedGeometry = nullptr,
const FName  DebugName = NAME_None 
)

◆ PinComponent() [3/3]

bool FARSupportInterface::PinComponent ( USceneComponent *  ComponentToPin,
UARPin Pin 
)

Pin Interface

◆ RemoveAllSavedARPins()

void FARSupportInterface::RemoveAllSavedARPins ( )

◆ RemovePin()

void FARSupportInterface::RemovePin ( UARPin PinToRemove)

◆ RemoveSavedARPin()

void FARSupportInterface::RemoveSavedARPin ( FName  InName)

◆ ResizeXRCamera()

FIntPoint FARSupportInterface::ResizeXRCamera ( const FIntPoint InSize)

◆ SaveARPin()

bool FARSupportInterface::SaveARPin ( FName  InName,
UARPin InPin 
)

◆ SaveWorld()

TSharedPtr< FARSaveWorldAsyncTask, ESPMode::ThreadSafe > FARSupportInterface::SaveWorld ( ) const

Creates an async task that will perform the work in the background

◆ SetAlignmentTransform()

void FARSupportInterface::SetAlignmentTransform ( const FTransform InAlignmentTransform)

◆ SetEnabledXRCamera()

void FARSupportInterface::SetEnabledXRCamera ( bool  bOnOff)

◆ StartARGameFrame()

bool FARSupportInterface::StartARGameFrame ( FWorldContext WorldContext)

◆ StartARSession()

void FARSupportInterface::StartARSession ( UARSessionConfig InSessionConfig)

◆ StopARSession()

void FARSupportInterface::StopARSession ( )

◆ ToggleARCapture()

bool FARSupportInterface::ToggleARCapture ( const bool  bOnOff,
const EARCaptureType  CaptureType 
)

◆ TryGetOrCreatePinForNativeResource()

bool FARSupportInterface::TryGetOrCreatePinForNativeResource ( void InNativeResource,
const FString &  InAnchorName,
UARPin *&  OutAnchor 
)

Member Data Documentation

◆ OnAlignmentTransformUpdated

FARSystemOnAlignmentTransformUpdated FARSupportInterface::OnAlignmentTransformUpdated

◆ OnARSessionStarted

FARSystemOnSessionStarted FARSupportInterface::OnARSessionStarted

The documentation for this class was generated from the following files: