Exports a SceneModel and optional DataModel as a GeoJSON FeatureCollection.

Point meshes become Point or MultiPoint geometries, line meshes become LineString or MultiLineString geometries, and triangle meshes become Polygon or MultiPolygon geometries made from their triangle faces.

For detailed usage, refer to @xeokit/sdk/formats/geojson.

Hierarchy (View Summary)

Constructors

Properties

defaultVersion: string

The default supported schema version.

fileDataType: string

Data type of the file written by this Exporter.

format: string

The exported model file format.

versions: string[]

List of supported schema versions.

Methods