ObjectAnchorsConversionModelFactory.AssetConversionProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the AssetConversionProperties(String, String, ConversionErrorCode, Nullable<Guid>, Uri, Nullable<AssetConversionStatus>, AssetFileType, Uri, Nullable<Guid>, AssetConversionConfiguration, Vector3) for mocking purposes.
public static Azure.MixedReality.ObjectAnchors.Conversion.AssetConversionProperties AssetConversionProperties (string clientErrorDetails, string serverErrorDetails, Azure.MixedReality.ObjectAnchors.Conversion.ConversionErrorCode conversionErrorCode, Guid? jobId, Uri outputModelUri, Azure.MixedReality.ObjectAnchors.Conversion.AssetConversionStatus? assetConversionStatus, Azure.MixedReality.ObjectAnchors.Conversion.AssetFileType assetFileType, Uri uploadedInputAssetUri, Guid? accountId, Azure.MixedReality.ObjectAnchors.Conversion.AssetConversionConfiguration assetConversionConfiguration, System.Numerics.Vector3 scaledAssetDimensions);
static member AssetConversionProperties : string * string * Azure.MixedReality.ObjectAnchors.Conversion.ConversionErrorCode * Nullable<Guid> * Uri * Nullable<Azure.MixedReality.ObjectAnchors.Conversion.AssetConversionStatus> * Azure.MixedReality.ObjectAnchors.Conversion.AssetFileType * Uri * Nullable<Guid> * Azure.MixedReality.ObjectAnchors.Conversion.AssetConversionConfiguration * System.Numerics.Vector3 -> Azure.MixedReality.ObjectAnchors.Conversion.AssetConversionProperties
Public Shared Function AssetConversionProperties (clientErrorDetails As String, serverErrorDetails As String, conversionErrorCode As ConversionErrorCode, jobId As Nullable(Of Guid), outputModelUri As Uri, assetConversionStatus As Nullable(Of AssetConversionStatus), assetFileType As AssetFileType, uploadedInputAssetUri As Uri, accountId As Nullable(Of Guid), assetConversionConfiguration As AssetConversionConfiguration, scaledAssetDimensions As Vector3) As AssetConversionProperties
Parameters
- clientErrorDetails
- String
Information about the cause of a ClientError AssetConversionStatus.
- serverErrorDetails
- String
Information about the cause of a ServerError AssetConversionStatus.
- conversionErrorCode
- ConversionErrorCode
The error code of the AOA asset conversion job.
- outputModelUri
- Uri
The URI for downloading the generated AOA Model.
- assetConversionStatus
- Nullable<AssetConversionStatus>
The status of the AOA asset conversion job.
- assetFileType
- AssetFileType
The file type of the original 3D asset. Examples include: "ply", "obj", "fbx", "glb", "gltf", etc.
- uploadedInputAssetUri
- Uri
The Uri to the Asset to be ingested by the AOA Asset Conversion Service. This asset needs to have been uploaded to the service using an endpoint provided from a call to the GetUploadUri API.
- assetConversionConfiguration
- AssetConversionConfiguration
The configuration of the AOA asset conversion job.
- scaledAssetDimensions
- Vector3
The scaled dimensions of the asset.
Returns
A new instance of the AssetConversionProperties(String, String, ConversionErrorCode, Nullable<Guid>, Uri, Nullable<AssetConversionStatus>, AssetFileType, Uri, Nullable<Guid>, AssetConversionConfiguration, Vector3) for mocking purposes.
Applies to
Azure SDK for .NET