Texture2D
.RGBA8888
layout.NativeArray<byte>
. This is useful when making predictions with pixel data from Unity's Texture2D
API's.RGBA8888
layout.MLCloudFeature
. This constructor is useful for working with output prediction data from an MLCloudModel
when authoring a predictor:IMAGE
feature.type
, along with convenience properties for inspecting the aforementioned type
.width
of the feature type
.height
of the feature type
.[0.0, 1.0]
.MLEdgeFeature
.MLEdgeFeature
.MLEdgeFeature
with a different aspect ratio than the image feature. The aspectMode
specifies how the difference in aspect ratio should be handled:AspectMode.ScaleToFit
AspectMode.AspectFill
AspectMode.AspectFit
aspectMode
is AspectMode.AspectFit
, the edge feature will be padded with transparent pixels,