Constructor KmlModel
KmlModel(Uri, KmlOrientation, KmlScale)
Initializes a new instance of the KmlModel class from a model file on disk or the network using the specified orientation and scale.
Declaration
public KmlModel(Uri uri, KmlOrientation orientation, KmlScale scale)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | uri | The URI to the model file on disk or the network. |
KmlOrientation | orientation | The orientation values to apply to the model. |
KmlScale | scale | The scale values to apply to the model. |
Remarks
This constructor is used when creating a model for use in a track, which will adopt the track's geometry and altitude mode.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 200.6 |
.NET | 200.6 |
.NET Windows | 200.6 |
.NET Android | 200.6 |
.NET iOS | 200.6 |
.NET Framework | 200.6 |
UWP | 200.6 |
KmlModel(Uri, MapPoint, KmlAltitudeMode, KmlOrientation, KmlScale)
Initializes a new instance of the KmlModel class from a model file on disk or the network and a MapPoint using the specified altitude mode, orientation, and scale.
Declaration
public KmlModel(Uri uri, MapPoint geometry, KmlAltitudeMode altitudeMode, KmlOrientation orientation, KmlScale scale)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | uri | The URI to the model file on disk or the network. |
MapPoint | geometry | The geographic location where the model is placed. |
KmlAltitudeMode | altitudeMode | Determines how altitude values are interpreted. |
KmlOrientation | orientation | The orientation values to apply to the model. |
KmlScale | scale | The scale values to apply to the model. |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 200.6 |
.NET | 200.6 |
.NET Windows | 200.6 |
.NET Android | 200.6 |
.NET iOS | 200.6 |
.NET Framework | 200.6 |
UWP | 200.6 |
KmlModel(Uri, MapPoint, KmlAltitudeMode)
Initializes a new instance of the KmlModel class from a model file on disk or the network and a MapPoint using a specified altitude mode.
Declaration
public KmlModel(Uri uri, MapPoint geometry, KmlAltitudeMode altitudeMode)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | uri | The URI to the model file on disk or the network. |
MapPoint | geometry | The geographic location where the model is placed. |
KmlAltitudeMode | altitudeMode | Determines how altitude values are interpreted. |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 200.6 |
.NET | 200.6 |
.NET Windows | 200.6 |
.NET Android | 200.6 |
.NET iOS | 200.6 |
.NET Framework | 200.6 |
UWP | 200.6 |