unreal.CameraCaptureImgToTexture

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

Bases: unreal.DelegateBase

Delegate used to pass the captured image back to the initiating blueprint. 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: MagicLeap
  • Module: MagicLeap
  • File: CameraCaptureComponent.h