Cesium for Unity 1.23.0
Loading...
Searching...
No Matches
CesiumGeoJsonFeature.cs
Go to the documentation of this file.
1using Reinterop;
2using System;
3
4namespace CesiumForUnity
5{
15 [ReinteropNativeImplementation(
16 "CesiumForUnityNative::CesiumGeoJsonFeatureImpl",
17 "CesiumGeoJsonFeatureImpl.h")]
18 public partial class CesiumGeoJsonFeature
19 {
23 internal CesiumGeoJsonFeature()
24 {
25 CreateImplementation();
26 }
27
33
40 public partial string GetIdAsString();
41
47 public partial long GetIdAsInteger();
48
54 public partial string GetPropertiesAsJson();
55
62 public partial string GetStringProperty(string propertyName);
63
70 public partial double GetNumericProperty(string propertyName);
71
77 public partial bool HasProperty(string propertyName);
78
85 }
86}
partial string GetIdAsString()
Gets the feature ID as a string.
partial double GetNumericProperty(string propertyName)
Gets a numeric property value from this feature.
partial CesiumGeoJsonFeatureIdType GetIdType()
Gets the type of ID on this feature.
partial string GetPropertiesAsJson()
Gets the properties of this feature as a JSON string.
partial CesiumGeoJsonObject GetGeometry()
Gets the geometry associated with this feature.
partial bool HasProperty(string propertyName)
Checks whether a property exists on this feature.
partial long GetIdAsInteger()
Gets the feature ID as an integer.
partial string GetStringProperty(string propertyName)
Gets a string property value from this feature.
Represents an object in a GeoJSON document.
CesiumGeoJsonFeatureIdType
The type of ID on a GeoJSON feature.