NativeImage
NameSpace: Android
Inherits from:
IDisposable
Public Fields
Height
public int Height { get; set; }
NumberOfPlanes
public int NumberOfPlanes { get; set; }
Timestamp
public long Timestamp { get; set; }
Width
public int Width { get; set; }
Public Methods
void Dispose
public void Dispose()
JobHandle Dispose
public JobHandle Dispose(
JobHandle depends
)
Parameters
Type | Name | Description |
---|---|---|
JobHandle | depends |
bool TryGetData
public bool TryGetData(
out NativePlane outData,
out ImageDimensions outDim
)
Parameters
Type | Name | Description |
---|---|---|
out NativePlane | outData | |
out ImageDimensions | outDim |
bool TryGetYUVData
public bool TryGetYUVData(
out NativeYUVPlanes outYuvPlanes
)
Parameters
Type | Name | Description |
---|---|---|
out NativeYUVPlanes | outYuvPlanes |
Public Attributes
Dimensions
public ImageDimensions Dimensions => new ImageDimensions(Width, Height);
IsCreated
public bool IsCreated => image.IsCreated;
IsMultiplanar
public bool IsMultiplanar => image.IsMultiPlanar;