Package-level declarations
Types
Metadata for one stored anchor point using direct storage.
Metadata for one stored anchor point.
An appearance defines the full GLSL vertex and fragment shaders and the render state used to draw a Primitive. All appearances implement this base Appearance interface.
ArcGisBaseMapType enumerates the ArcGIS image tile layers that are supported by default.
Default options for accessing the ArcGIS image tile service.
Common atmosphere settings used by 3D Tiles and models for rendering sky atmosphere, ground atmosphere, and fog.
Provides 2D image tiles from Azure.
A renderable collection of billboards. Billboards are viewport-aligned images positioned in the 3D scene.
Describes a two dimensional icon located at the position of the containing Entity.
A Visualizer which maps Entity.billboard to a Billboard.
Provides geocoding through Bing Maps.
The types of imagery provided by Bing Maps.
Determines how two pixels' values are combined.
Determines how blending factors are computed.
The blending state combines BlendEquation and BlendFunction and the enabled flag to define the full blending state for combining source and destination fragments when rendering.
Determines how opaque and translucent parts of primitives in a collection are blended with the scene. Collections differ in the render pass, blending, and depth behavior they select for each option; see the blendOption documentation of the collection in question.
A ParticleEmitter that emits particles within a box. Particles will be positioned randomly within the box and have initial velocities emanating from the center of the box.
A GeometryUpdater for boxes. Clients do not normally create this class directly, but instead rely on DataSourceDisplay.
Describes a box. The center position and orientation are determined by the containing Entity.
View bound to the underlying buffer data of a BufferPointCollection.
Collection of points held in ArrayBuffer storage for performance and memory optimization.
Material description for a BufferPoint.
View bound to the underlying buffer data of a BufferPolygonCollection.
Collection of polygons held in ArrayBuffer storage for performance and memory optimization.
Material description for a BufferPolygon.
View bound to the underlying buffer data of a BufferPolylineCollection.
Collection of polylines held in ArrayBuffer storage for performance and memory optimization.
Material description for a BufferPolyline.
View bound to the underlying buffer data of a BufferPrimitiveCollection. Abstract.
Collection of primitives held in ArrayBuffer storage for performance and memory optimization.
Material description for a BufferPrimitive. Abstract.
A PositionProperty whose value is lazily evaluated by a callback function.
A Property whose value is lazily evaluated by a callback function.
The camera is defined by a position, orientation, and view frustum.
Aggregates input events. For example, suppose the following inputs are received between frames: left mouse button down, mouse move, mouse move, left mouse button up. These events will be aggregated into one event with a start and end position of the mouse.
Enumerates the available input for interacting with the camera.
Geocodes queries containing longitude and latitude coordinates and an optional height. Query format: longitude latitude (height) with longitude/latitude in degrees and height in meters.
A tile in a Cesium3DTileset. When a tile is first created, its content is not loaded; the content is loaded on-demand when needed based on the view.
Defines how per-feature colors set from the Cesium API or declarative styling blend with the source colors from the original feature, e.g. glTF material or per-point color in the tile.
The content of a tile in a Cesium3DTileset.
A feature of a Cesium3DTileset.
A point feature of a Cesium3DTileset.
A 3D Tiles tileset, used for streaming massive heterogeneous 3D geospatial datasets.
A 3D Tiles tileset represented by an Entity. The tileset modelMatrix is determined by the containing Entity position and orientation or is left unset if position is undefined.
A Visualizer which maps Entity.tileset to a Cesium3DTileset.
Terrain data for a single tile where the terrain data is represented as a glb (binary glTF).
A style that is applied to a Cesium3DTileset.
A VoxelProvider that fetches voxel data from a 3D Tiles tileset.
A widget containing a Cesium scene.
A MaterialProperty that maps to checkerboard Material uniforms.
A ParticleEmitter that emits particles from a circle. Particles will be positioned within a circle and have initial velocities going along the z vector.
A classification primitive represents a volume enclosing geometry in the Scene to be highlighted.
Whether a classification affects terrain, 3D Tiles or both.
A Plane in Hessian Normal form to be used with ClippingPlaneCollection. Compatible with mathematics functions in Plane
Specifies a set of clipping planes. Clipping planes selectively disable rendering in a region on the outside of the specified list of ClippingPlane objects for a single gltf model, 3D Tileset, or the globe.
A geodesic polygon to be used with ClippingPlaneCollection for selectively hiding regions in a model, a 3D tileset, or the globe.
Specifies a set of clipping polygons. Clipping polygons selectively disable rendering in a region inside or outside the specified list of ClippingPolygon objects for a single glTF model, 3D Tileset, or the globe.
A renderable collection of clouds in the 3D scene.
Specifies the type of the cloud that is added to a CloudCollection in CloudCollection.add.
Defines different modes for blending between a target color and a primitive's source color.
A MaterialProperty that maps to solid color Material uniforms.
Reads and returns a value with the given type at the given byte offset from the data view, in little-endian order
Reads and returns a value with the given type at the given byte offset from the data view, in little-endian order
Non-destructively composites multiple EntityCollection instances into a single collection. If a Entity with the same ID exists in multiple collections, it is non-destructively merged into a single new entity instance. If an entity has the same property in multiple collections, the property of the Entity in the last collection of the list it belongs to is used. CompositeEntityCollection can be used almost anywhere that a EntityCollection is used.
A CompositeProperty which is also a MaterialProperty.
A CompositeProperty which is also a PositionProperty.
A Property which is defined by a TimeIntervalCollection, where the data property of each TimeInterval is another Property instance which is evaluated at the provided time.
Describes a compressed texture and contains a compressed texture buffer.
An expression for a style applied to a Cesium3DTileset.
A ParticleEmitter that emits particles within a cone. Particles will be positioned at the tip of the cone and have initial velocities going towards the base.
A PositionProperty whose value does not change in respect to the ReferenceFrame in which is it defined.
A Property whose value does not change with respect to simulation time.
Options to control the setting up of a WebGL Context.
An interface for a camera controller that can be registered with the scene to handle input events, camera animations, and other interactions. Implementations of this interface are expected to be registered with the scene via a ControllerHost. This type describes an interface and is not intended to be instantiated directly.
Creates an instance of a ControllerHost. Typically, a ControllerHost is created by the Scene constructor and accessed via Scene.controllerHost.
Metadata identifying parameters using same correlation modeling and associated correlation parameters.
A GeometryUpdater for corridors. Clients do not normally create this class directly, but instead rely on DataSourceDisplay.
Describes a corridor, which is a shape defined by a centerline and width that conforms to the curvature of the globe. It can be placed on the surface or at altitude and can optionally be extruded into a volume.
The credit display is responsible for displaying credits on screen.
A Panorama that displays imagery in cube map format in a scene.
A DataSource implementation which can be used to manually manage a group of entities.
A simple TerrainProvider that gets height values from a callback function. It can be used for procedurally generated terrain or as a way to load custom heightmap data without creating a subclass of TerrainProvider.
A user defined GLSL shader used with Model as well as Cesium3DTileset.
An enum describing how the CustomShader will be added to the fragment shader. This determines how the shader interacts with the material.
An enum for controlling how CustomShader handles translucency compared with the original primitive.
A GeometryUpdater for cylinders. Clients do not normally create this class directly, but instead rely on DataSourceDisplay.
Describes a cylinder, truncated cone, or cone defined by a length, top radius, and bottom radius. The center position and orientation are determined by the containing Entity.
A DataSource which processes CZML.
Defines the interface for data sources, which turn arbitrary data into a EntityCollection for generic consumption. This object is an interface for documentation purposes and is not intended to be instantiated directly.
Represents desired clock settings for a particular DataSource. These settings may be applied to the Clock when the DataSource is loaded.
A collection of DataSource instances.
Visualizes a collection of DataSource instances.
Visualizes a vertex attribute by displaying it as a color for debugging.
Draws the outline of the camera's view frustum.
Draws the axes of a reference frame defined by a matrix that transforms to world coordinates, i.e., Earth's WGS84 coordinates. The most prominent example is a primitives modelMatrix.
A simple proxy that appends the desired resource as the sole query parameter to the given proxy URL.
Determines the function used to compare two depths for the depth test.
A light that gets emitted in a single direction from infinitely far away.
An orientation given by a pair of unit vectors
A policy for discarding tile images that contain no data (and so aren't actually images). This policy discards DiscardEmptyTileImagePolicy.EMPTY_IMAGE, which is expected to be used in place of any empty tile images by the image loading code.
A policy for discarding tile images that match a known image containing a "missing" image.
Atmosphere lighting effects (sky atmosphere, ground atmosphere, fog) can be further modified with dynamic lighting from the sun or other light source that changes over time. This enum determines which light source to use.
Generates an environment map at the given position based on scene's current lighting conditions. From this, it produces multiple levels of specular maps and spherical harmonic coefficients than can be used with ImageBasedLighting for models or tilesets.
Easing functions for use with TweenCollection. These function are from Tween.js and Robert Penner. See the Tween.js graphs for each function.
Defines how edges contributed by the EXT_mesh_primitive_edge_visibility glTF extension are rendered relative to surface geometry.
A GeometryUpdater for ellipses. Clients do not normally create this class directly, but instead rely on DataSourceDisplay.
Describes an ellipse defined by a center point and semi-major and semi-minor axes. The ellipse conforms to the curvature of the globe and can be placed on the surface or at altitude and can optionally be extruded into a volume. The center point is determined by the containing Entity.
A GeometryUpdater for ellipsoids. Clients do not normally create this class directly, but instead rely on DataSourceDisplay.
Describe an ellipsoid or sphere. The center position and orientation are determined by the containing Entity.
An appearance for geometry on the surface of the ellipsoid like PolygonGeometry and RectangleGeometry, which supports all materials like MaterialAppearance with {@link MaterialAppearance.MaterialSupport.ALL}. However, this appearance requires fewer vertex attributes since the fragment shader can procedurally compute normal, tangent, and bitangent.
A very simple TerrainProvider that produces geometry by tessellating an ellipsoidal surface.
Entity instances aggregate multiple forms of visualization into a single high-level object. They can be created manually and added to Viewer.entities or be produced by data sources, such as CzmlDataSource and GeoJsonDataSource.
Defines how screen space objects (billboards, points, labels) are clustered.
An observable collection of Entity instances where each entity has a unique id.
A utility object for tracking an entity with the camera.
A Panorama that displays imagery in equirectangular format in a scene.
Since KML does not support glTF models, this callback is required to specify what URL to use for the model in the KML document. It can also be used to add additional files to the externalFiles object, which is the list of files embedded in the exported KMZ, or otherwise returned with the KML string when exporting.
An expression for a style applied to a Cesium3DTileset.
A set of functions to detect whether the current browser supports various features.
Monitors the frame rate (frames per second) in a Scene and raises an event if the frame rate is lower than a threshold. Later, if the frame rate returns to the required level, a separate event is raised. To avoid creating multiple FrameRateMonitors for a single Scene, use FrameRateMonitor.fromScene instead of constructing an instance explicitly.
Describes a frustum at the given the origin and orientation.
A description of the outline of a frustum with the given the origin and orientation.
Browser-independent functions for working with the standard fullscreen API.
Represents the contents of a glTF or glb using the KHR_gaussian_splatting and KHR_gaussian_splatting_compression_spz_2 extensions.
Provides geocoding through an external service. This type describes an interface and is not intended to be used.
The type of geocoding to be performed by a GeocoderService.
A tiling scheme for geometry referenced to a simple GeographicProjection where longitude and latitude are directly mapped to X and Y. This projection is commonly known as geographic, equirectangular, equidistant cylindrical, or plate carrée.
A DataSource which processes both GeoJSON and TopoJSON data. simplestyle-spec properties will also be used if they are present.
A GeoJSON feature object.
A GeoJSON feature collection object.
A GeoJSON geometry object.
A GeoJSON position expressed as longitude, latitude or longitude, latitude, altitude.
Lightweight GeoJSON loader that converts features directly into BufferPointCollection, BufferPolylineCollection, and BufferPolygonCollection.
An abstract class for updating geometry entities.
A general purpose visualizer for geometry represented by Primitive instances.
Describes the format in which to request GetFeatureInfo from a Web Map Service (WMS) or Web Map Tile Service (WMTS) server.
The globe rendered in the scene, including its terrain (Globe.terrainProvider) and imagery layers (Globe.imageryLayers). Access the globe using Scene.globe.
Properties for controlling globe translucency.
The GPM metadata for a Ground-Space Indirect implementation stored locally (i.e. a tile and/or leaf node).
Terrain data for a single tile from a Google Earth Enterprise server.
Provides geocoding through Google.
Default settings for accessing the Google Maps API.
An API key is only required if you are directly using any Google Maps APIs, such as through createGooglePhotorealistic3DTileset. Follow instructions for managing API keys for the Google Maps Platform at https://developers.google.com/maps/documentation/embed/get-api-key.
You can enable multiple Google Maps Platform APIs on a single API key. However, a separate GoogleMaps.defaultStreetViewStaticApiKey is available if you prefer to use a dedicated key for the Street View Static API.
A DataSource which processes the GPS Exchange Format (GPX).
An ImageryProvider that draws a wireframe grid on every tile with controllable background and glow. May be useful for custom rendering effects or debugging terrain.
A MaterialProperty that maps to grid Material uniforms.
An abstract class for updating ground geometry entities.
A description of a polyline on terrain or 3D Tiles. Only to be used with GroundPolylinePrimitive.
A GroundPolylinePrimitive represents a polyline draped over the terrain or 3D Tiles in the Scene.
A ground primitive represents geometry draped over terrain or 3D Tiles in the Scene.
An orientation given by numeric heading, pitch, and roll
The encoding that is used for a heightmap
Terrain data for a single tile where the terrain data is represented as a heightmap. A heightmap is a rectangular array of heights in row-major order from north to south and west to east.
Represents the position relative to the terrain.
A contextual camera controller that combines screenspace map panning and screenspace elevator panning. The controller automatically switches between the two based on the camera's angle relative to nadir. If the camera is looking mostly down (within angleThreshold of nadir), ScreenSpaceMapCameraController is used. If the camera is looking towards the horizon (beyond angleThreshold from nadir), the ScreenSpaceElevatorCameraController is used.
An I3SDataProvider is the main public class for I3S support. The url option should return a scene object. Currently supported I3S versions are 1.6 and 1.7/1.8 (OGC I3S 1.2). I3SFeature and I3SNode classes implement the Object Model for I3S entities, with public interfaces.
This class implements an I3S Feature.
This class implements an I3S Geometry. Each I3SGeometry generates an in memory glTF to be used as content for a Cesium3DTile
This class implements an I3S statistics for Building Scene Layer.
This class implements an I3S sublayer for Building Scene Layer.
This class implements an I3S symbology for I3S Layers.
Properties for managing image-based lighting on tilesets and models. Also manages the necessary resources and textures.
A MaterialProperty that maps to image Material uniforms.
An imagery layer that displays tiled image data from a single imagery provider on a Globe or Cesium3DTileset.
An ordered collection of imagery layers for rendering raster imagery on a Globe or Cesium3DTileset.
Describes a rasterized feature, such as a point, polygon, polyline, etc., in an imagery layer.
Provides imagery to be displayed on the surface of an ellipsoid. This type describes an interface and is not intended to be instantiated directly.
The format in which ImageryProvider methods return an image may vary by provider, configuration, or server settings. Most common are HTMLImageElement, HTMLCanvasElement, or on supported browsers, ImageBitmap.
The interface for interpolation algorithms.
Underlying geocoding services that can be used via Cesium ion.
Provides geocoding through Cesium ion.
A Resource instance that encapsulates Cesium ion asset access. This object is normally not instantiated directly, use IonResource.fromAssetId.
The type of geometry a snap resolved to, reported by IonSnapService.snap as IonSnapService.Result geometryType. Values match the iTwin.js HitGeomType enum.
How close a snap result is to the cursor, reported by IonSnapService.snap as IonSnapService.Result heat. Values match the iTwin.js SnapHeat enum.
The snap modes supported by IonSnapService.snap. These follow the MicroStation snap mode semantics; see the MicroStation documentation for reference.
The type of the parent geometry a snap resolved to, reported by IonSnapService.snap as IonSnapService.Result parentGeometryType. Values match the iTwin.js HitParentGeomType enum.
Provides interactive snap-to-geometry against a Cesium ion 3D Tiles asset backed by a BIM/CAD Database model, using the ion REST API's element snap endpoint.
The types of imagery provided by createWorldImagery.
This enumerated type is for representing keyboard modifiers. These are keys that are held down in addition to other event types.
Representation of
A DataSource which processes Keyhole Markup Language 2.2 (KML).
Contains KML Feature data loaded into the Entity.kml property by KmlDataSource.
Transitions the KmlTour to the next destination. This transition is facilitated using a specified flyToMode over a given number of seconds.
Pauses the KmlTour for a given number of seconds.
A renderable collection of labels. Labels are viewport-aligned text positioned in the 3D scene. Each label can have a different font, color, scale, etc.
Describes a two dimensional label located at the position of the containing Entity.
Describes how to draw a label.
A Visualizer which maps the LabelGraphics instance in Entity.label to a Label.
A light source. This type describes an interface and is not intended to be instantiated directly. Together, color and intensity produce a high-dynamic-range light color. intensity can also be used individually to dim or brighten the light without changing the hue.
The lighting model to use for lighting a Model.
Provides tiled imagery hosted by Mapbox.
Provides tiled imagery hosted by Mapbox.
A Material defines surface appearance through a combination of diffuse, specular, normal, emission, and alpha components. These values are specified using a JSON schema called Fabric which gets parsed and assembled into glsl shader code behind-the-scenes. Check out the wiki page for more details on Fabric.
An appearance for arbitrary geometry (as opposed to EllipsoidSurfaceAppearance, for example) that supports shading with materials.
A metadata class.
A metadata property, as part of a MetadataClass.
An enum of metadata component types.
A metadata enum.
A metadata enum value.
A schema containing classes and enums.
An enum of metadata types. These metadata types are containers containing one or more components of type MetadataComponentType
An instance of a metadata value.
Determines if and how a glTF animation is looped.
A feature of a Model.
A Visualizer which maps Entity.model to a Model.
Draws the Moon in 3D.
This enumerated type is for classifying mouse buttons: left, middle, and right.
A Mapbox Vector Tiles (MVT) data provider. Loads .mvt or .pbf tiles, converting tiles dynamically (at runtime) into 3D Tiles.
A TileDiscardPolicy specifying that tile images should never be discard.
A Property that produces TranslationRotationScale data.
Provides geocoding via a OpenCage server.
An imagery provider that provides tiled imagery hosted by OpenStreetMap or another provider of Slippy tiles. The default url connects to OpenStreetMap's volunteer-run servers, so you must conform to their Tile Usage Policy.
Provides imagery to be displayed on the surface of an ellipsoid. This type describes an interface and is not intended to be instantiated directly.
A particle emitted by a ParticleSystem.
Represents a burst of Particles from a ParticleSystem at a given time in the systems lifetime.
An object that initializes a Particle from a ParticleSystem.
A ParticleSystem manages the updating and display of a collection of particles.
Describes a polyline defined as the path made by an Entity as it moves over time.
A Visualizer which maps Entity.path to a Polyline.
Provides geocoding via a Pelias server.
An appearance for GeometryInstance instances with color attributes. This allows several geometry instances, each with a different color, to be drawn with the same Primitive as shown in the second example below.
Information about metadata that is supposed to be picked
A utility class for generating custom map pins as canvas elements.
A GeometryUpdater for planes. Clients do not normally create this class directly, but instead rely on DataSourceDisplay.
Describes a plane. The center position and orientation are determined by the containing Entity.
Options for performing point attenuation based on geometric error when rendering point clouds using 3D Tiles.
Describes a graphical point located at the position of the containing Entity.
A renderable collection of points.
A Visualizer which maps Entity.point to a PointPrimitive.
A GeometryUpdater for polygons. Clients do not normally create this class directly, but instead rely on DataSourceDisplay.
Describes a polygon defined by an hierarchy of linear rings which make up the outer shape and any nested holes. The polygon conforms to the curvature of the globe and can be placed on the surface or at altitude and can optionally be extruded into a volume.
A MaterialProperty that maps to PolylineArrow Material uniforms.
A renderable collection of polylines.
An appearance for GeometryInstance instances with color attributes and PolylineGeometry or GroundPolylineGeometry. This allows several geometry instances, each with a different color, to be drawn with the same Primitive.
A MaterialProperty that maps to polyline dash Material uniforms.
A GeometryUpdater for polylines. Clients do not normally create this class directly, but instead rely on DataSourceDisplay.
A MaterialProperty that maps to polyline glow Material uniforms.
Describes a polyline. The first two positions define a line segment, and each additional position defines a line segment from the previous position. The segments can be linear connected points, great arcs, or clamped to terrain.
An appearance for PolylineGeometry that supports shading with materials.
A MaterialProperty that maps to polyline outline Material uniforms.
A visualizer for polylines represented by Primitive instances.
A GeometryUpdater for polyline volumes. Clients do not normally create this class directly, but instead rely on DataSourceDisplay.
Describes a polyline volume defined as a line strip and corresponding two dimensional shape which is extruded along it. The resulting volume conforms to the curvature of the globe.
The interface for all Property objects that define a world location as a Cartesian3 with an associated ReferenceFrame. This type defines an interface and cannot be instantiated directly.
A Property whose value is an array whose items are the computed value of other PositionProperty instances.
Runs a post-process stage on either the texture rendered by the scene or the output of a previous post-process stage.
A collection of PostProcessStages and/or PostProcessStageComposites.
A collection of PostProcessStages or other post-process composite stages that execute together logically.
Contains functions for creating common post-process stages.
Determines how input texture to a PostProcessStage is sampled.
A primitive represents geometry in the Scene. The geometry can be from a single GeometryInstance as shown in example 1 below, or from an array of instances, even if the geometry is from different geometry types, e.g., an RectangleGeometry and an EllipsoidGeometry as shown in Code Example 2.
A collection of primitives. This is most often used with Scene.primitives, but PrimitiveCollection is also a primitive itself so collections can be added to collections forming a hierarchy.
A Property whose value is an array whose items are the computed value of other property instances.
A Property whose value is a key-value mapping of property names to the computed value of other properties.
Terrain data for a single tile where the terrain data is represented as a quantized mesh. A quantized mesh consists of three vertex attributes, longitude, latitude, and height. All attributes are expressed as 16-bit values in the range 0 to 32767. Longitude and latitude are zero at the southwest corner of the tile and 32767 at the northeast corner. Height is zero at the minimum height in the tile and 32767 at the maximum height in the tile.
A GeometryUpdater for rectangles. Clients do not normally create this class directly, but instead rely on DataSourceDisplay.
Describes graphics for a Rectangle. The rectangle conforms to the curvature of the globe and can be placed on the surface or at altitude and can optionally be extruded into a volume.
A Property which transparently links to another property on a provided object.
Stores information for making a request. In general this does not need to be constructed directly.
An event that is raised when a request encounters an error.
The request scheduler is used to track and constrain the number of active requests in order to prioritize incoming requests. The ability to retain control over the number of requests in CesiumJS is important because due to events such as changes in the camera position, a lot of new requests may be generated and a lot of in-flight requests may become redundant. The request scheduler manually constrains the number of requests so that newer requests wait in a shorter queue and don't have to compete for bandwidth with requests that have expired.
State of the request.
An enum identifying the type of request. Used for finer grained logging and priority sorting.
Represents a Packable number that always interpolates values towards the shortest angle of rotation. This object is never used directly but is instead passed to the constructor of SampledProperty in order to represent a two-dimensional angle of rotation.
A SampledProperty which is also a PositionProperty.
A Property whose value is interpolated for a given time from the provided set of samples and specified interpolation algorithm and degree.
The container for all 3D graphical objects and state in a Cesium virtual scene. Generally, a scene is not created directly; instead, it is implicitly created by CesiumWidget.
The result of a snap operation. See Scene.snap.
Functions that do scene-dependent transforms between rendering-related coordinate systems.
Modifies the camera position and orientation based on mouse input to a canvas.
Creates an instance of a ScreenSpaceElevatorCameraController.
Handles user input events. Custom functions can be added to be executed on when the user enters input.
This enumerated type is for classifying mouse events: down, up, click, double click, move and move while a button is held down.
Creates an instance of a ScreenSpaceMapCameraController.
Creates a new instance of ScreenSpaceTiltOrbitCameraController.
Creates a new instance of ScreenSpaceZoomCameraController.
Constants used to indicated what part of the sensor volume to display.
Specifies whether the object casts or receives shadows from light sources when shadows are enabled.
Contains functions for finding the Cartesian coordinates of the sun and the moon in the Earth-centered inertial frame.
Provides a single, top-level imagery tile. The single image is assumed to be in the Geographic projection (i.e. WGS84 / EPSG:4326), and will be rendered using a GeographicTilingScheme.
An atmosphere drawn around the limb of the provided ellipsoid. Based on Display of The Earth Taking Into Account Atmospheric Scattering.
A sky box around the scene to draw stars. The sky box is defined using the True Equator Mean Equinox (TEME) axes.
Provides snap-to-geometry through an external service, which snaps against source geometry hosted remotely rather than geometry loaded in the scene. This type describes an interface and is not intended to be used.
Variables for a Strictly Positive-Definite Correlation Function.
A ParticleEmitter that emits particles within a sphere. Particles will be positioned randomly within the sphere and have initial velocities emanating from the center of the sphere.
The direction to display a primitive or ImageryLayer relative to the Scene.splitPosition.
Determines the function used to compare stencil values for the stencil test.
Determines the action taken based on the result of the stencil test.
An enum of storage types for covariance information.
A MaterialProperty that maps to stripe Material uniforms.
Defined the orientation of stripes in StripeMaterialProperty.
An expression for a style applied to a Cesium3DTileset.
A wrapper around a web worker that allows scheduling tasks for a given worker, returning results asynchronously via a promise.
A helper to manage async operations of a terrain provider.
Terrain data for a single tile. This type describes an interface and is not intended to be instantiated directly.
Provides terrain or other geometry for the surface of an ellipsoid. The surface geometry is organized into a pyramid of tiles according to a TilingScheme. This type describes an interface and is not intended to be instantiated directly.
Enumerates all possible filters used when magnifying WebGL textures.
Enumerates all possible filters used when minifying WebGL textures.
A simple struct that serves as a value of a sampler2D-valued uniform. This is used with CustomShader and TextureManager
Reports the availability of tiles in a TilingScheme.
An ImageryProvider that draws a box around every rendered tile in the tiling scheme, and draws a label inside it indicating the X, Y, Level coordinates of the tile. This is mostly useful for debugging terrain and imagery rendering problems.
A policy for discarding tile images according to some criteria. This type describes an interface and is not intended to be instantiated directly.
Provides details about an error that occurred in an ImageryProvider or a TerrainProvider.
A tiling scheme for geometry or imagery on the surface of an ellipsoid. At level-of-detail zero, the coarsest, least-detailed level, the number of tiles is configurable. At level of detail one, each of the level zero tiles has four children, two in each direction. At level of detail two, each of the level one tiles has four children, two in each direction. This continues for as many levels as are present in the geometry or imagery source.
Provides functionality for ImageryProviders that have time dynamic imagery
Provides playback of time-dynamic point cloud data.
A TimeIntervalCollectionProperty which is also a PositionProperty.
A Property which is defined by a TimeIntervalCollection, where the data property of each TimeInterval represents the value at time.
A tonemapping algorithm when rendering with high dynamic range.
Contains functions for transforming positions to various reference frames.
A singleton that contains all of the servers that are trusted. Credentials will be sent with any requests to these servers.
An object describing a uniform, its type, and an initial value
An enum of the basic GLSL uniform types. These can be used with CustomShader to declare user-defined uniforms.
Base provider for URL-template vector sources that are rendered through a runtime-generated 3D Tiles tileset.
Provides imagery by requesting tiles using a specified URL template.
An enum for the GLSL varying types. These can be used for declaring varyings in CustomShader
A Property which evaluates to a Quaternion rotation based on the velocity of the provided PositionProperty.
A Property which evaluates to a Cartesian3 vector based on the velocity of the provided PositionProperty.
Synchronizes a video element with a simulation clock.
A viewport aligned quad.
Defines the interface for visualizers. Visualizers are plug-ins to DataSourceDisplay that render data associated with DataSource instances. This object is an interface for documentation purposes and is not intended to be instantiated directly.
A cell from a VoxelPrimitive.
A primitive that renders voxel data from a VoxelProvider.
Provides voxel data. Intended to be used with VoxelPrimitive. This type describes an interface and is not intended to be instantiated directly.
An enum of voxel shapes. The shape controls how the voxel grid is mapped to 3D space.
A GeometryUpdater for walls. Clients do not normally create this class directly, but instead rely on DataSourceDisplay.
Describes a two dimensional wall defined as a line strip and optional maximum and minimum heights. The wall conforms to the curvature of the globe and can be placed along the surface or at altitude.
WebGL options to be passed on to HTMLCanvasElement.getContext(). See WebGLContextAttributes but note the modified defaults for 'alpha', 'stencil', and 'powerPreference'
Provides tiled imagery hosted by a Web Map Service (WMS) server.
Provides tiled imagery served by WMTS 1.0.0 compliant servers. This provider supports HTTP KVP-encoded and RESTful GetTile requests, but does not yet support the SOAP encoding.
A tiling scheme for geometry referenced to a WebMercatorProjection, EPSG:3857. This is the tiling scheme used by Google Maps, Microsoft Bing Maps, and most of ESRI ArcGIS Online.
Functions
Given a relative URL under the Cesium base URL, returns an absolute URL.
Compute the vehicle velocity, local horizontal (VVLH) transform for a position property at a given time. The VVLH axes is defined based on the motion of the provided position point as follows:
Creates a Material that combines multiple layers of color/gradient bands and maps them to terrain heights.
Creates a Cesium3DTileset instance for the Google Photorealistic 3D Tiles tileset.
Creates a Cesium3DTileset instance for the Cesium OSM Buildings tileset.
Creates a Primitive to visualize well-known vector vertex attributes: normal, tangent, and bitangent. Normal is red; tangent is green; and bitangent is blue. If an attribute is not present, it is not drawn.
Creates a CesiumTerrainProvider instance for the Cesium World Bathymetry.
Creates an IonImageryProvider instance for ion's default global base imagery layer, currently Bing Maps.
Creates a CesiumTerrainProvider instance for the Cesium World Terrain.
Exports an EntityCollection as a KML document. Only Point, Billboard, Model, Path, Polygon, Polyline geometries will be exported. Note that there is not a 1 to 1 mapping of Entity properties to KML Feature properties. For example, entity properties that are time dynamic but cannot be dynamic in KML are exported with their values at options.time or the beginning of the EntityCollection's time interval if not specified. For time-dynamic properties that are supported in KML, we use the samples if it is a SampledProperty otherwise we sample the value using the options.sampleDuration. Point, Billboard, Model and Path geometries with time-dynamic positions will be exported as gx:Track Features. Not all Materials are representable in KML, so for more advanced Materials just the primary color is used. Canvas objects are exported as PNG images.
Extract a pixel array from a loaded image. Draws the image into a canvas so it can read the pixels back.
Removes an extension from gltf.extensions, gltf.extensionsUsed, gltf.extensionsRequired, and any other objects in the glTF if it is present.
Initiates a terrain height query for an array of Cartographic positions by requesting tiles from a terrain provider, sampling, and interpolating. The interpolation matches the triangles used to render the terrain at the specified level. The query happens asynchronously, so this function returns a promise that is resolved when the query completes. Each point height is modified in place. If a height can not be determined because no terrain data is available for the specified level at that location, or another error occurs, the height is set to undefined. As is typical of the Cartographic type, the supplied height is a height above the reference ellipsoid (such as Ellipsoid.WGS84) rather than an altitude above mean sea level. In other words, it will not necessarily be 0.0 if sampled in the ocean. This function needs the terrain level of detail as input, if you need to get the altitude of the terrain as precisely as possible (i.e. with maximum level of detail) use sampleTerrainMostDetailed.
Initiates a sampleTerrain() request at the maximum available tile level for a terrain dataset.
Transforms a path entity's position into the local frame of the reference entity. If the reference entity has an orientation, uses that orientation to define the local frame. Otherwise, falls back to a VVLH (Vehicle Velocity Local Horizontal) frame derived from the reference entity's velocity.
Writes the given text into a new canvas. The canvas will be sized to fit the text. If text is blank, returns undefined.