ULuminARSessionFunctionLibrary::StartLuminARSession

Starts a new LuminAR tracking session LuminAR specific configuration.

Windows
MacOS
Linux

References

Module

MagicLeapAR

Header

/Engine/Plugins/Lumin/MagicLeap/Source/MagicLeapAR/Public/LuminARFunctionLibrary.h

Include

#include "LuminARFunctionLibrary.h"

Source

/Engine/Plugins/Lumin/MagicLeap/Source/MagicLeapAR/Private/LuminARFunctionLibrary.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="LuminAR|Session",
          Meta=(Latent, LatentInfo="LatentInfo", WorldContext="WorldContextObject", Keywords="luminar session start config"))
static void StartLuminARSession
(
    UObject * WorldContextObject,
    struct FLatentActionInfo LatentInfo,
    ULuminARSessionConfig * Configuration
)

Remarks

Starts a new LuminAR tracking session LuminAR specific configuration. If the session already started and the config isn't the same, it will stop the previous session and start a new session with the new config.

that this is a latent action, you can query the session start result by querying GetLuminARSessionStatus() after the latent action finished.

Parameters

Parameter

Description

Configuration

The LuminARSession configuration to start the session.

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