Struct CameraImagePlane
Information about the camera image planes. An image "plane" refers to an image channel used in video encoding.
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Syntax
public struct CameraImagePlane : IEquatable<CameraImagePlane>
Properties
data
A "view" into the platform-specific plane data. It is an error to access data
after
the owning CameraImage has been disposed.
Declaration
public NativeArray<byte> data { get; }
Property Value
Type |
Description |
NativeArray<System.Byte> |
|
pixelStride
The number of bytes per pixel for this plane.
Declaration
public int pixelStride { get; }
Property Value
Type |
Description |
System.Int32 |
|
rowStride
The number of bytes per row for this plane.
Declaration
public int rowStride { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.ValueType.Equals(System.Object)
Equals(CameraImagePlane)
Declaration
public bool Equals(CameraImagePlane other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.ValueType.GetHashCode()
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.ValueType.ToString()
Operators
Equality(CameraImagePlane, CameraImagePlane)
Declaration
public static bool operator ==(CameraImagePlane lhs, CameraImagePlane rhs)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Inequality(CameraImagePlane, CameraImagePlane)
Declaration
public static bool operator !=(CameraImagePlane lhs, CameraImagePlane rhs)
Parameters
Returns
Type |
Description |
System.Boolean |
|