Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TileFeatureData

An interface for optional feature data that is saved in a THREE.Object3D's userData property.

Hierarchy

  • TileFeatureData

Index

Properties

Optional geometryType

geometryType: GeometryType

The original type of geometry.

Optional objInfos

objInfos: Array<{} | undefined>

An optional object containing properties defined by the developer. It has the same size as the list of IDs and the starting indices (starts).

Optional starts

starts: number[]

An optional array of sorted indices into geometry where the feature starts. The lists of IDs and starting indices (starts) must have the same size. Feature i starts at starts[i] and ends at starts[i+1]-1, except for the last feature, which ends at the last index in the object's geometry.

Generated using TypeDoc