Magic Leap

Magic Leap

Windows
MacOS
Linux
On this page

Actions

Camera Connect

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).

Target is Magic Leap Camera Function Library

Camera Disconnect

Disconnects from the device's camera. Note: This function must be called before the application terminates (if the camera has been connected to). Failure to do so will result in the camera connection remaining open (and the camera icon remaining on screen).

Target is Magic Leap Camera Function Library

Capture Image to File Async

Initiates a capture image to file task on a separate thread. @brief 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 FCameraCaptureImgToFile event handler.

Target is Magic Leap Camera Function Library

Capture Image to Texture Async

Initiates a capture image to memory task on a speparate thread. @brief The user should register event handlers for both the success and fail events. Upon completion, a successful operation will provide a dynamically generated texture containing the captured image to the FCameraCaptureImgToTextureSuccess event handler. Note: The generated texture will be garbage collected when this app is destroyed.

Target is Magic Leap Camera Function Library

Is Capturing

Gets the capture state of the component.

Target is Magic Leap Camera Function Library

Set Log Delegate

Sets the delegate by which the system can pass log messages back to the calling blueprint.

Target is Magic Leap Camera Function Library

Start Recording Async

Initiates the capturing of video/audio data on a separate thread. Note: The system will continue to record video until StopRecordingVideo is called.

Target is Magic Leap Camera Function Library

Stop Recording Async

Stops the recording and saves the video/audio data to an mp4 file. Note: The newly created mp4 file will have an automatically generated name which is guaranteed to be unique.

Target is Magic Leap Camera Function Library

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback