UAzureCloudSpatialAnchor::SetExpiration

Set the Expiration time of the cloud anchor as seconds into the future.

Windows
MacOS
Linux

References

Module

AzureSpatialAnchors

Header

/Engine/Plugins/Runtime/AR/Microsoft/AzureSpatialAnchors/Source/AzureSpatialAnchors/Public/AzureCloudSpatialAnchor.h

Include

#include "AzureCloudSpatialAnchor.h"

Source

/Engine/Plugins/Runtime/AR/Microsoft/AzureSpatialAnchors/Source/AzureSpatialAnchors/Private/AzureCloudSpatialAnchor.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="AzureSpatialAnchors",
          Meta=(Keywords="azure spatial anchor hololens wmr pin ar all"))
void SetExpiration
(
    const float Lifetime
)

Remarks

Set the Expiration time of the cloud anchor as seconds into the future. You must call SaveCloudAnchor or UpdateCloudAnchorProperties before this will be persisted on azure.

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