UMagicLeapCameraComponent::CaptureImageToFileAsync

The newly created jpeg file will have an automatically generated name which is guaranteed to be unique. Upon completion, a successful operation will provide the file path of the newly created jpeg to the [FMagicLeapCameraCaptureImgToFile](API\Plugins\MagicLeapCamera\FMagicLeapCameraCaptureImgToFile) event handler.

Windows
MacOS
Linux

References

Module

MagicLeapCamera

Header

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

Include

#include "MagicLeapCameraComponent.h"

Source

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

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Camera | MagicLeap")
virtual bool CaptureImageToFileAsync()

Remarks

Initiates a capture image to file task on a separate thread.

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