Method TryGetPlane
TryGetPlane(int, int, out Cinfo)
Method to be implemented by the provider to get information about an image plane from a native image handle by index.
Declaration
public virtual bool TryGetPlane(int nativeHandle, int planeIndex, out XRCpuImage.Plane.Cinfo planeCinfo)
Parameters
Type | Name | Description |
---|---|---|
int | nativeHandle | A unique identifier for this camera image. |
int | planeIndex | The index of the plane to get. |
XRCpuImage.Plane.Cinfo | planeCinfo | The returned camera plane information if successful. |
Returns
Type | Description |
---|---|
bool |
|
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown if the implementation does not support camera image. |