Skip to main content
Version: 20 Mar 2024

MLCameraPlaneInfo

Per plane info for captured output

Public Methods

MLCameraPlaneInfo Create

Create and return an initialized version of this struct.

public static MLCameraPlaneInfo Create()

Returns: Returns a new MLCamera.PlaneInfo structure.


MLCamera.PlaneInfo CreatePlaneInfo

public MLCamera.PlaneInfo CreatePlaneInfo(
bool copyToManagedMemory,
byte [] byteArrayToUse =null
)

Parameters

TypeNameDescription
boolcopyToManagedMemory
byte []byteArrayToUse

Public Attributes

BytesPerPixel

Number of bytes used to represent a pixel


public uint BytesPerPixel;


Data

Image data


public IntPtr Data;


Height

Height of the output image in pixels


public uint Height;


PixelsStride


public uint PixelsStride;


Size

Number of bytes in the image output data


public uint Size;


Stride

Stride of the output image in pixels


public uint Stride;


Version

version contains the version number for this structure.


public uint Version;


Width

Width of the output image in pixels


public uint Width;