Udostępnij za pośrednictwem


AssetConversionOptions Constructors

Definition

Overloads

AssetConversionOptions(Uri, AssetFileType, Vector3, AssetLengthUnit, Boolean)

Initializes a new instance of the AssetConversionOptions class.

AssetConversionOptions(Uri, AssetFileType, Vector3, Single, Boolean)

Initializes a new instance of the AssetConversionOptions class.

AssetConversionOptions(Uri, AssetFileType, Vector3, AssetLengthUnit, Boolean)

Source:
AssetConversionOptions.cs

Initializes a new instance of the AssetConversionOptions class.

public AssetConversionOptions (Uri inputAssetUri, Azure.MixedReality.ObjectAnchors.Conversion.AssetFileType inputAssetFileType, System.Numerics.Vector3 assetGravity, Azure.MixedReality.ObjectAnchors.Conversion.AssetLengthUnit unit, bool disableDetectScaleUnits = false);
new Azure.MixedReality.ObjectAnchors.Conversion.AssetConversionOptions : Uri * Azure.MixedReality.ObjectAnchors.Conversion.AssetFileType * System.Numerics.Vector3 * Azure.MixedReality.ObjectAnchors.Conversion.AssetLengthUnit * bool -> Azure.MixedReality.ObjectAnchors.Conversion.AssetConversionOptions
Public Sub New (inputAssetUri As Uri, inputAssetFileType As AssetFileType, assetGravity As Vector3, unit As AssetLengthUnit, Optional disableDetectScaleUnits As Boolean = false)

Parameters

inputAssetUri
Uri

The path to the Asset to be ingested by the Object Anchors service.

inputAssetFileType
AssetFileType

The model's file type.

assetGravity
Vector3

The asset gravity.

unit
AssetLengthUnit

The unit of measurement, which is translated to a numeric scale for the model.

disableDetectScaleUnits
Boolean

Whether or not disable automatic detection of FBX scale units.

Applies to

AssetConversionOptions(Uri, AssetFileType, Vector3, Single, Boolean)

Source:
AssetConversionOptions.cs

Initializes a new instance of the AssetConversionOptions class.

public AssetConversionOptions (Uri inputAssetUri, Azure.MixedReality.ObjectAnchors.Conversion.AssetFileType inputAssetFileType, System.Numerics.Vector3 assetGravity, float assetScale, bool disableDetectScaleUnits = false);
new Azure.MixedReality.ObjectAnchors.Conversion.AssetConversionOptions : Uri * Azure.MixedReality.ObjectAnchors.Conversion.AssetFileType * System.Numerics.Vector3 * single * bool -> Azure.MixedReality.ObjectAnchors.Conversion.AssetConversionOptions
Public Sub New (inputAssetUri As Uri, inputAssetFileType As AssetFileType, assetGravity As Vector3, assetScale As Single, Optional disableDetectScaleUnits As Boolean = false)

Parameters

inputAssetUri
Uri

The path to the Asset in storage to be ingested by the Object Anchors service.

inputAssetFileType
AssetFileType

The model's file type.

assetGravity
Vector3

The asset gravity.

assetScale
Single

The asset scale.

disableDetectScaleUnits
Boolean

Whether or not disable automatic detection of FBX scale units.

Applies to