unreal.MagicLeapCameraCaptureImgToTexture

class unreal.MagicLeapCameraCaptureImgToTexture(*args, **kwargs)

Bases: unreal.DelegateBase

Delegate used to pass the captured image back to the initiating blueprint. note: The captured texture will remain in memory for the lifetime of the calling application (if the task succeeds).

Parameters
  • success (bool) – True if the task succeeded, false otherwise.

  • capture_texture (Texture2D) – A UTexture2D containing the captured image.

C++ Source:

  • Plugin: MagicLeapCamera

  • Module: MagicLeapCamera

  • File: MagicLeapCameraTypes.h