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.

public:
 static IAsyncOperation<MapModel3D ^> ^ CreateFrom3MFAsync(IRandomAccessStreamReference ^ source);
/// [Windows.Foundation.Metadata.Overload("CreateFrom3MFAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<MapModel3D> CreateFrom3MFAsync(IRandomAccessStreamReference const& source);
[Windows.Foundation.Metadata.Overload("CreateFrom3MFAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<MapModel3D> CreateFrom3MFAsync(IRandomAccessStreamReference source);
function createFrom3MFAsync(source)
Public Shared Function CreateFrom3MFAsync (source As IRandomAccessStreamReference) As IAsyncOperation(Of MapModel3D)

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.

public:
 static IAsyncOperation<MapModel3D ^> ^ CreateFrom3MFAsync(IRandomAccessStreamReference ^ source, MapModel3DShadingOption shadingOption);
/// [Windows.Foundation.Metadata.Overload("CreateFrom3MFWithShadingOptionAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<MapModel3D> CreateFrom3MFAsync(IRandomAccessStreamReference const& source, MapModel3DShadingOption const& shadingOption);
[Windows.Foundation.Metadata.Overload("CreateFrom3MFWithShadingOptionAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<MapModel3D> CreateFrom3MFAsync(IRandomAccessStreamReference source, MapModel3DShadingOption shadingOption);
function createFrom3MFAsync(source, shadingOption)
Public Shared Function CreateFrom3MFAsync (source As IRandomAccessStreamReference, shadingOption As MapModel3DShadingOption) As IAsyncOperation(Of MapModel3D)

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