classificationType

Determines whether terrain, 3D Tiles, or both will be classified by this tileset.

This option is only applied to tilesets containing batched 3D models, glTF content, geometry data, or vector data. Even when undefined, vector and geometry data must render as classifications and will default to rendering on both terrain and other 3D Tiles tilesets.

When enabled for batched 3D model and glTF tilesets, there are a few requirements/limitations on the glTF:

  • The glTF cannot contain morph targets, skins, or animations.

  • The glTF cannot contain the EXT_mesh_gpu_instancing extension.

  • Only meshes with TRIANGLES can be used to classify other assets.

  • The meshes must be watertight.

  • The POSITION semantic is required.

  • If _BATCHIDs and an index buffer are both present, all indices with the same batch id must occupy contiguous sections of the index buffer.

  • If _BATCHIDs are present with no index buffer, all positions with the same batch id must occupy contiguous sections of the position buffer.

Additionally, classification is not supported for points or instanced 3D models.

The 3D Tiles or terrain receiving the classification must be opaque.

See also