Share via


MapModel3D.CreateFrom3MFAsync Method

Definition

Overloads

CreateFrom3MFAsync(IRandomAccessStreamReference)

Creates an instance of a MapModel3D by importing a 3D object from a 3D Manufacturing Format (3MF) file.

CreateFrom3MFAsync(IRandomAccessStreamReference, MapModel3DShadingOption)

Creates an instance of a MapModel3D by importing a 3D object from a 3D Manufacturing Format (3MF) file.

CreateFrom3MFAsync(IRandomAccessStreamReference)

Creates an instance of a MapModel3D by importing a 3D object from a 3D Manufacturing Format (3MF) file.

[Windows.Foundation.Metadata.Overload("CreateFrom3MFAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<MapModel3D> CreateFrom3MFAsync(IRandomAccessStreamReference source);

Parameters

source
IRandomAccessStreamReference

A 3D Manufacturing Format (3MF) file file that describes a 3D object.

Returns

A 3D model object.

Attributes

Remarks

Set the Model property of the MapElement3D to this object.

Applies to

CreateFrom3MFAsync(IRandomAccessStreamReference, MapModel3DShadingOption)

Creates an instance of a MapModel3D by importing a 3D object from a 3D Manufacturing Format (3MF) file.

[Windows.Foundation.Metadata.Overload("CreateFrom3MFWithShadingOptionAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<MapModel3D> CreateFrom3MFAsync(IRandomAccessStreamReference source, MapModel3DShadingOption shadingOption);

Parameters

source
IRandomAccessStreamReference

A 3D Manufacturing Format (3MF) file file that describes a 3D object.

shadingOption
MapModel3DShadingOption

The type of shading that you would like to appear for the object.

Returns

A 3D model object.

Attributes

Remarks

Set the Model property of the MapElement3D to this object.

Applies to