3using Unity.Mathematics;
17 [ReinteropNativeImplementation(
18 "CesiumForUnityNative::CesiumGeoJsonObjectImpl",
19 "CesiumGeoJsonObjectImpl.h")]
20 public partial class CesiumGeoJsonObject
25 internal CesiumGeoJsonObject()
27 CreateImplementation();
Represents a Feature in a GeoJSON document.
Represents a LineString in a GeoJSON document.
partial CesiumGeoJsonObject[] GetObjectAsGeometryCollection()
Gets this object as a GeometryCollection.
partial CesiumGeoJsonPolygon[] GetObjectAsMultiPolygon()
Gets this object as a MultiPolygon geometry.
partial CesiumGeoJsonLineString GetObjectAsLineString()
Gets this object as a LineString geometry.
partial double3[] GetObjectAsMultiPoint()
Gets this object as a MultiPoint geometry.
partial CesiumGeoJsonFeature[] GetObjectAsFeatureCollection()
Gets the features in this FeatureCollection.
partial CesiumVectorStyle GetStyle()
Gets the style of this GeoJSON object.
partial void ClearStyle()
Clears any style set on this GeoJSON object.
partial double3 GetObjectAsPoint()
Gets this object as a Point geometry.
partial bool IsValid()
Checks whether this GeoJSON object is valid.
partial CesiumGeoJsonObjectType GetObjectType()
Gets the type of this GeoJSON object.
partial CesiumGeoJsonLineString[] GetObjectAsMultiLineString()
Gets this object as a MultiLineString geometry.
partial bool HasStyle()
Checks whether this GeoJSON object has a style.
partial CesiumGeoJsonFeature GetObjectAsFeature()
Gets this object as a CesiumGeoJsonFeature, if it is a Feature.
partial void SetStyle(CesiumVectorStyle style)
Sets the style of this GeoJSON object.
partial CesiumGeoJsonPolygon GetObjectAsPolygon()
Gets this object as a Polygon geometry.
Represents a Polygon in a GeoJSON document.
CesiumGeoJsonObjectType
The type of a GeoJSON object.
Style information to use when drawing vector data.