UGoogleARCoreServicesFunctionLibrary::CreateAndHostCloudARPinLatentAction

This will start a Latent Action to host the ARPin and creating a [UCloudARPin](API\Plugins\GoogleARCoreServices\UCloudARPin) from it.

Windows
MacOS
Linux

References

Module

GoogleARCoreServices

Header

/Engine/Plugins/Runtime/AR/Google/GoogleARCoreServices/Source/GoogleARCoreServices/Public/GoogleARCoreServicesFunctionLibrary.h

Include

#include "GoogleARCoreServicesFunctionLibrary.h"

Source

/Engine/Plugins/Runtime/AR/Google/GoogleARCoreServices/Source/GoogleARCoreServices/Private/GoogleARCoreServicesFunctionLibrary.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="GoogleARCoreServices|CloudARPin",
          Meta=(Latent, LatentInfo="LatentInfo", WorldContext="WorldContextObject", Keywords="googlear ar service host cloud"))
static void CreateAndHostCloudARPinLatentAction
(
    UObject * WorldContextObject,
    struct FLatentActionInfo LatentInfo,
    UARPin * ARPinToHost,
    EARPinCloudTaskResult & OutHostingResult,
    UCloudARPin *& OutCloudARPin
)

Remarks

This will start a Latent Action to host the ARPin and creating a UCloudARPin from it. The complete flow of this Latent Action will be triggered if the hosting is complete or an error has occurred.

Note that a UCloudARPin will be always created when this function is called, even in the case that the CloudId is failed to host. You can check the CloudState of returning UCloudARPin to see why the hosting failed.

Parameters

Parameter

Description

ARPinToHost

The ARPin to host.

OutHostingResult

The ARPin hosting result.

OutCloudARPin

A new instance of UCloudARPin created using the input ARPinToHost.

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