Method CreateWithViewpoint
CreateWithViewpoint(Viewpoint)
Creates a KML viewpoint from a Viewpoint.
Declaration
public static KmlViewpoint CreateWithViewpoint(Viewpoint viewpoint)
Parameters
Type | Name | Description |
---|---|---|
Viewpoint | viewpoint | The viewpoint. |
Returns
Type | Description |
---|---|
KmlViewpoint | A newly-created KmlViewpoint. |
Remarks
KML viewpoint defines either a look-at point or a camera, whereas a Viewpoint must always have a look-at point, and optionally also have a camera. A viewpoint that has a camera will create a KML viewpoint of type Camera. A viewpoint that has no camera will create a KML viewpoint of type LookAt.
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.6 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.6 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.6 - 100.15 |
Xamarin.iOS | 100.6 - 100.15 |
UWP | 100.6 - 100.15 |