![]() |
Cesium for Unreal 2.18.0
|
A Blueprint Funciton Library for interacting with FCesiumVectorNode
values.
More...
#include <CesiumGeoJsonObject.h>
Static Public Member Functions | |
static bool | IsValid (const FCesiumGeoJsonObject &InObject) |
Checks if the provided GeoJSON object is valid. | |
static ECesiumGeoJsonObjectType | GetObjectType (const FCesiumGeoJsonObject &InObject) |
Returns the ECesiumGeoJsonObjectType of the GeoJSON value this object represents. | |
static FBox | GetBoundingBox (const FCesiumGeoJsonObject &InObject, EHasValue &Branches) |
Attempts to obtain this GeoJSON object's bounding box. | |
static FJsonObjectWrapper | GetForeignMembers (const FCesiumGeoJsonObject &InObject) |
Obtains any foreign members on this GeoJSON object. | |
static FVector | GetObjectAsPoint (const FCesiumGeoJsonObject &InObject) |
If this object is a GeoJSON Point type, this returns the coordinates of that Point. | |
static TArray< FVector > | GetObjectAsMultiPoint (const FCesiumGeoJsonObject &InObject) |
If this object is a GeoJSON MultiPoint type, this returns the array of coordinates on that MultiPoint object. | |
static FCesiumGeoJsonLineString | GetObjectAsLineString (const FCesiumGeoJsonObject &InObject) |
If this object is a GeoJSON LineString type, this returns a FCesiumGeoJsonLineString representing that line. | |
static TArray< FCesiumGeoJsonLineString > | GetObjectAsMultiLineString (const FCesiumGeoJsonObject &InObject) |
If this object is a GeoJSON MultiLineString type, this returns an array of FCesiumGeoJsonLineString objects representing the lines. | |
static FCesiumGeoJsonPolygon | GetObjectAsPolygon (const FCesiumGeoJsonObject &InObject) |
If this object is a GeoJSON Polygon type, this returns a FCesiumGeoJsonPolygon representing that line. | |
static TArray< FCesiumGeoJsonPolygon > | GetObjectAsMultiPolygon (const FCesiumGeoJsonObject &InObject) |
If this object is a GeoJSON MultiPolygon type, this returns an array of FCesiumGeoJsonPolygon objects representing the polygons. | |
static TArray< FCesiumGeoJsonObject > | GetObjectAsGeometryCollection (const FCesiumGeoJsonObject &InObject) |
If this object is a GeoJSON GeometryCollection type, this returns an array of FCesiumGeoJsonObject objects representing the objects. | |
static FCesiumGeoJsonFeature | GetObjectAsFeature (const FCesiumGeoJsonObject &InObject) |
If this object is a GeoJSON Feature type, this returns a FCesiumGeoJsonFeature representing that feature. | |
static TArray< FCesiumGeoJsonFeature > | GetObjectAsFeatureCollection (const FCesiumGeoJsonObject &InObject) |
If this object is a GeoJSON FeatureCollection type, this returns an array of FCesiumGeoJsonFeature objects representing the features. | |
static FCesiumVectorStyle | GetStyle (const FCesiumGeoJsonObject &InObject, EHasValue &Branches) |
Returns the FCesiumVectorStyle attached to this object, if any. | |
static void | SetStyle (UPARAM(Ref) FCesiumGeoJsonObject &InObject, const FCesiumVectorStyle &InStyle) |
Sets the style of the given FCesiumGeoJsonObject . | |
static void | ClearStyle (UPARAM(Ref) FCesiumGeoJsonObject &InObject) |
Removes any existing style on the given GeoJSON object. | |
A Blueprint Funciton Library for interacting with FCesiumVectorNode
values.
Definition at line 265 of file CesiumGeoJsonObject.h.
|
static |
Removes any existing style on the given GeoJSON object.
GeoJSON objects without a style specified will inherit their style from their parent object, or that parent's parent, and so on up the tree. If no styles are found anywhere in the ancestors of this object, the default style will be used.
|
static |
Attempts to obtain this GeoJSON object's bounding box.
If the No Value
branch is called, the object has no bounding box.
|
static |
Obtains any foreign members on this GeoJSON object.
Foreign members are members found in the loaded GeoJSON document that are not part of the specification for this GeoJSON object type.
|
static |
If this object is a GeoJSON Feature type, this returns a FCesiumGeoJsonFeature
representing that feature.
Otherwise, an invalid FCesiumGeoJsonFeature
is returned.
|
static |
If this object is a GeoJSON FeatureCollection type, this returns an array of FCesiumGeoJsonFeature
objects representing the features.
Otherwise, an empty array is returned.
|
static |
If this object is a GeoJSON GeometryCollection type, this returns an array of FCesiumGeoJsonObject
objects representing the objects.
Otherwise, an empty array is returned.
|
static |
If this object is a GeoJSON LineString type, this returns a FCesiumGeoJsonLineString
representing that line.
Otherwise, a FCesiumGeoJsonLineString
without any points is returned.
|
static |
If this object is a GeoJSON MultiLineString type, this returns an array of FCesiumGeoJsonLineString
objects representing the lines.
Otherwise, an empty array is returned.
|
static |
If this object is a GeoJSON MultiPoint type, this returns the array of coordinates
on that MultiPoint object.
Otherwise, an empty array is returned.
|
static |
If this object is a GeoJSON MultiPolygon type, this returns an array of FCesiumGeoJsonPolygon
objects representing the polygons.
Otherwise, an empty array is returned.
|
static |
If this object is a GeoJSON Point type, this returns the coordinates
of that Point.
Otherwise, a zero vector is returned.
|
static |
If this object is a GeoJSON Polygon type, this returns a FCesiumGeoJsonPolygon
representing that line.
Otherwise, a FCesiumGeoJsonPolygon
without any points is returned.
|
static |
Returns the ECesiumGeoJsonObjectType
of the GeoJSON value this object represents.
|
static |
Returns the FCesiumVectorStyle
attached to this object, if any.
If there is no style attached to this object, the No Value
branch is taken.
|
static |
Checks if the provided GeoJSON object is valid.
Any operations performed with an invalid object will likely give incorrect results.
|
static |
Sets the style of the given FCesiumGeoJsonObject
.