UGoogleARCoreFrameFunctionLibrary

A function library that provides static/Blueprint functions associated with most recent GoogleARCore tracking frame.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

GoogleARCoreBase

Header

/Engine/Plugins/Runtime/AR/Google/GoogleARCore/Source/GoogleARCoreBase/Public/GoogleARCoreFunctionLibrary.h

Include

#include "GoogleARCoreFunctionLibrary.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class UGoogleARCoreFrameFunctionLibrary : public UBlueprintFunctionLibrary

Remarks

A function library that provides static/Blueprint functions associated with most recent GoogleARCore tracking frame.

Functions

Name Description

Public function Static UFunction BlueprintCallable, Category, Meta

EGoogleARCor...

 

AcquireCameraImage

(
    UGoogleARCoreCameraImage*& Out...
)

Acquire a CPU-accessible camera image.

Public function Static UFunction BlueprintCallable, Category, Meta

EGoogleARCor...

 

AcquirePointCloud

(
    UGoogleARCorePointCloud*& OutL...
)

Acquires latest point cloud.

Public function Static UFunction BlueprintCallable, Category, Meta

bool

 

ARCoreLineTrace

(
    UObject* WorldContextObject,
    const FVector2D& ScreenPosition,
    TSet< EGoogleARCoreLineTraceChannel...,
    TArray< FARTraceResult >& OutHitRe...
)

Traces a ray from the user's device in the direction of the given location in the camera view.

Public function Static UFunction BlueprintCallable, Category, Meta

bool

 

ARCoreLineTraceRay

(
    UObject* WorldContextObject,
    const FVector& Start,
    const FVector& End,
    TSet< EGoogleARCoreLineTraceChannel...,
    TArray< FARTraceResult >& OutHitRe...
)

Traces a ray along the given line.

Public function Static UFunction BlueprintCallable, Category, Meta

EGoogleARCor...

 

GetCameraImageIntrinsics

Get the camera intrinsics for the camera image (CPU image).

Public function Static UFunction BlueprintPure, Category, Meta

UTexture ...

 

GetCameraTexture()

Get the pass-through camera texture that GoogleARCore plugin will use to render the passthrough camera background.

Public function Static UFunction BlueprintCallable, Category, Meta

EGoogleARCor...

 

GetCameraTextureIntrinsics

Get the camera intrinsics for the camera texture (GPU image).

Public function Static UFunction BlueprintCallable, Category, Meta

void

 

GetLightEstimation

(
    FGoogleARCoreLightEstimate& OutLig...
)

Gets the latest light estimation.

Public function Static UFunction BlueprintCallable, Category, Meta

EGoogleARCor...

 

GetPointCloud

(
    UGoogleARCorePointCloud*& OutL...
)

Gets the latest point cloud that will be only available for this frame.

Public function Static UFunction BlueprintPure, Category, Meta

void

 

GetPose

(
    FTransform& OutPose
)

Gets the latest tracking pose of the ARCore device in Unreal AR Tracking Space

Public function Static UFunction BlueprintPure, Category, Meta

EGoogleARCor...

 

GetTrackingFailureReason()

Returns the reason when UARBlueprintLibrary::GetTrackingQuality() returns NotTracking, or UGoogleARCoreFrameFunctionLibrary::GetTrackingState returns Paused.

Public function Static UFunction BlueprintPure, Category, Meta

EGoogleARCor...

 

GetTrackingState()

Returns the current ARCore session status.

Public function Static UFunction BlueprintCallable, Category, Meta

void

 

GetUpdatedARPins

(
    TArray< UARPin* >& OutAnchorL...
)

Gets a list of UARPin objects that were changed in this frame.

Public function Static UFunction BlueprintCallable, Category, Meta

void

 

GetUpdatedAugmentedFaces

Gets a list of UGoogleARCoreAugmentedFace objects that were changed in this frame.

Public function Static UFunction BlueprintCallable, Category, Meta

void

 

GetUpdatedAugmentedImages

Gets a list of UGoogleARCoreAugmentedImage objects that were changed in this frame.

Public function Static UFunction BlueprintCallable, Category, Meta

void

 

GetUpdatedPlanes

(
    TArray< UARPlaneGeometry* >& ...
)

Gets a list of UARPlaneGeometry objects that were changed in this frame.

Public function Static

void

 

GetUpdatedTrackable

(
    TArray< T* >& OutTrackableLis...
)

Template function to get the updated trackables in this frame a given trackable type.

Public function Static UFunction BlueprintCallable, Category, Meta

void

 

GetUpdatedTrackablePoints

(
    TArray< UARTrackedPoint* >& O...
)

Gets a list of UARTrackedPoint objects that were changed in this frame.

Public function Static UFunction BlueprintPure, Category, Meta

void

 

TransformARCoordinates2D

(
    EGoogleARCoreCoordinates2DType Inpu...,
    const TArray< FVector2D >& InputCo...,
    EGoogleARCoreCoordinates2DType Outp...,
    TArray< FVector2D >& OutputCoordin...
)

Transforms an array of 2D coordinates into a different 2D coordinate system.

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