ObjectAnchorsConversionModelFactory.AssetConversionConfiguration 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 AssetConversionConfiguration(Vector3, Vector3, Vector3, IReadOnlyList<Int32>, IReadOnlyList<TrajectoryPose>, Quaternion, Single, Boolean, Vector4, IReadOnlyList<TrajectoryPose>) for mocking purposes.
public static Azure.MixedReality.ObjectAnchors.Conversion.AssetConversionConfiguration AssetConversionConfiguration (System.Numerics.Vector3 assetDimensions, System.Numerics.Vector3 boundingBoxCenter, System.Numerics.Vector3 gravity, System.Collections.Generic.IReadOnlyList<int> keyFrameIndexes, System.Collections.Generic.IReadOnlyList<Azure.MixedReality.ObjectAnchors.Conversion.TrajectoryPose> groundTruthTrajectoryCameraPoses, System.Numerics.Quaternion principalAxis, float scale, bool disableDetectScaleUnits, System.Numerics.Vector4 supportingPlane, System.Collections.Generic.IReadOnlyList<Azure.MixedReality.ObjectAnchors.Conversion.TrajectoryPose> testTrajectoryCameraPoses);
static member AssetConversionConfiguration : System.Numerics.Vector3 * System.Numerics.Vector3 * System.Numerics.Vector3 * System.Collections.Generic.IReadOnlyList<int> * System.Collections.Generic.IReadOnlyList<Azure.MixedReality.ObjectAnchors.Conversion.TrajectoryPose> * System.Numerics.Quaternion * single * bool * System.Numerics.Vector4 * System.Collections.Generic.IReadOnlyList<Azure.MixedReality.ObjectAnchors.Conversion.TrajectoryPose> -> Azure.MixedReality.ObjectAnchors.Conversion.AssetConversionConfiguration
Public Shared Function AssetConversionConfiguration (assetDimensions As Vector3, boundingBoxCenter As Vector3, gravity As Vector3, keyFrameIndexes As IReadOnlyList(Of Integer), groundTruthTrajectoryCameraPoses As IReadOnlyList(Of TrajectoryPose), principalAxis As Quaternion, scale As Single, disableDetectScaleUnits As Boolean, supportingPlane As Vector4, testTrajectoryCameraPoses As IReadOnlyList(Of TrajectoryPose)) As AssetConversionConfiguration
Parameters
- assetDimensions
- Vector3
Dimensions of the asset.
- boundingBoxCenter
- Vector3
BoundingBoxCenter of the asset.
- gravity
- Vector3
Gravity vector with respect to object's nominal position.
- keyFrameIndexes
- IReadOnlyList<Int32>
Indices of Key Frames.
- groundTruthTrajectoryCameraPoses
- IReadOnlyList<TrajectoryPose>
Ground truth trajectory.
- principalAxis
- Quaternion
Orientation of model's bounding box.
- scale
- Single
Scale of transformation of asset units into meter space.
- disableDetectScaleUnits
- Boolean
Whether or not disable automatic detection of FBX scale units.
- supportingPlane
- Vector4
Definition of supporting plane.
- testTrajectoryCameraPoses
- IReadOnlyList<TrajectoryPose>
Test Trajectory.
Returns
A new instance of the AssetConversionConfiguration(Vector3, Vector3, Vector3, IReadOnlyList<Int32>, IReadOnlyList<TrajectoryPose>, Quaternion, Single, Boolean, Vector4, IReadOnlyList<TrajectoryPose>) for mocking purposes.
Applies to
Azure SDK for .NET