UMagicLeapCameraFunctionLibrary::CameraConnect

Establishes a connection with the device's camera.

Windows
MacOS
Linux

References

Module

MagicLeapCamera

Header

/Engine/Plugins/Lumin/MagicLeapCamera/Source/MagicLeapCamera/Public/MagicLeapCameraFunctionLibrary.h

Include

#include "MagicLeapCameraFunctionLibrary.h"

Source

/Engine/Plugins/Lumin/MagicLeapCamera/Source/MagicLeapCamera/Private/MagicLeapCameraFunctionLibrary.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Camera Function Library | MagicLeap")
static bool CameraConnect
(
    const FMagicLeapCameraConnect & ResultDelegate
)

Remarks

Establishes a connection with the device's camera. @note A connection will be made automatically upon the first capture call if this is not called first. Calling this function manually allows the developer to control when privilege notifications for this plugin will be activated (if application is being used for the first time).

Returns

True if the call succeeds, false otherwise.

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