Constructor ConversionParams
ConversionParams(XRCpuImage, TextureFormat, Transformation)
Constructs a XRCpuImage.ConversionParams using the image
's full
resolution. That is, it sets inputRect to (0, 0, image.width, image.height)
and
outputDimensions to (image.width, image.height)
.
Declaration
public ConversionParams(XRCpuImage image, TextureFormat format, XRCpuImage.Transformation transformation = Transformation.None)
Parameters
Type | Name | Description |
---|---|---|
XRCpuImage | image | The source XRCpuImage. |
TextureFormat | format | The |
XRCpuImage.Transformation | transformation | An optional XRCpuImage.Transformation to apply. |