MapModel3D
MapModel3D
MapModel3D
MapModel3D
Class
Definition
Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Prerelease APIs are identified by a Prerelease label.
[Contains prerelease APIs.]
Represents a 3D object to show on a map.
public : class MapModel3D : DependencyObject, IMapModel3Dpublic class MapModel3D : DependencyObject, IMapModel3DPublic Class MapModel3D Inherits DependencyObject Implements IMapModel3D// This API is not available in Javascript.
- Inheritance
-
MapModel3DMapModel3DMapModel3DMapModel3D
- Attributes
| Device family |
Windows 10 Insider Preview (introduced v10.0.16257.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v5)
|
Inherited Members
Inherited methods
Inherited properties
Constructors
MapModel3D() MapModel3D() MapModel3D() MapModel3D()
Prerelease. Creates an instance of a MapElement3D.
public : MapModel3D()public MapModel3D()Public Sub New()// This API is not available in Javascript.
Methods
CreateFrom3MFAsync(IRandomAccessStreamReference) CreateFrom3MFAsync(IRandomAccessStreamReference) CreateFrom3MFAsync(IRandomAccessStreamReference) CreateFrom3MFAsync(IRandomAccessStreamReference)
Prerelease. 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)public static IAsyncOperation<MapModel3D> CreateFrom3MFAsync(IRandomAccessStreamReference source)Public Static Function CreateFrom3MFAsync(source As IRandomAccessStreamReference) As IAsyncOperation( Of MapModel3D )// This API is not available in Javascript.
- source
- IRandomAccessStreamReference IRandomAccessStreamReference IRandomAccessStreamReference IRandomAccessStreamReference
A 3D Manufacturing Format (3MF) file file that describes a 3D object.
A 3D model object.
Remarks
Set the Model property of the MapElement3D to this object.
CreateFrom3MFAsync(IRandomAccessStreamReference, MapModel3DShadingOption) CreateFrom3MFAsync(IRandomAccessStreamReference, MapModel3DShadingOption) CreateFrom3MFAsync(IRandomAccessStreamReference, MapModel3DShadingOption) CreateFrom3MFAsync(IRandomAccessStreamReference, MapModel3DShadingOption)
Prerelease. 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)public static IAsyncOperation<MapModel3D> CreateFrom3MFAsync(IRandomAccessStreamReference source, MapModel3DShadingOption shadingOption)Public Static Function CreateFrom3MFAsync(source As IRandomAccessStreamReference, shadingOption As MapModel3DShadingOption) As IAsyncOperation( Of MapModel3D )// This API is not available in Javascript.
- source
- IRandomAccessStreamReference IRandomAccessStreamReference IRandomAccessStreamReference IRandomAccessStreamReference
A 3D Manufacturing Format (3MF) file file that describes a 3D object.
- shadingOption
- MapModel3DShadingOption MapModel3DShadingOption MapModel3DShadingOption MapModel3DShadingOption
The type of shading that you would like to appear for the object.
A 3D model object.
Remarks
Set the Model property of the MapElement3D to this object.