Struct XRCpuImage.ConversionParams
Describes a set of conversion parameters for use with XRCpuImage's conversion methods.
Implements
Inherited Members
Namespace: UnityEngine.XR.ARSubsystems
Assembly: solution.dll
Syntax
public struct XRCpuImage.ConversionParams : IEquatable<XRCpuImage.ConversionParams>
Constructors
Name | Description |
---|---|
ConversionParams(XRCpuImage, TextureFormat, Transformation) | Constructs a XRCpuImage.ConversionParams using the |
Properties
Name | Description |
---|---|
inputRect | The portion of the original image that will be used as input to the conversion. |
outputDimensions | The dimensions of the converted image. The output dimensions must be less than or equal to the inputRect's dimensions. If the output dimensions are less than the inputRect's dimensions, downsampling is performed using nearest neighbor. |
outputFormat | The |
transformation | The transformation to apply to the image during conversion. |
Methods
Name | Description |
---|---|
Equals(object) | Tests for equality. |
Equals(ConversionParams) | Tests for equality. |
GetHashCode() | Generates a hash suitable for use with containers like |
ToString() | Generates a string representation of this XRCpuImage.ConversionParams. |
Operators
Name | Description |
---|---|
operator ==(ConversionParams, ConversionParams) | Tests for equality. Same as Equals(ConversionParams). |
operator !=(ConversionParams, ConversionParams) | Tests for inequality. Same as |