wasm-spatial-core
    Preparing search index...

    Class Cesium3DTile

    A Cesium 3D Tiles b3dm tile containing a triangulated batched mesh.

    Index
    batchTableJson: string
    featureBatchIds: Uint32Array
    • Serialize this tile to a complete b3dm binary blob.

      b3dm layout:

      [Header 28 bytes] [BatchTable JSON] [FeatureTable JSON + BIN] [Body]
      

      Header (28 bytes, little-endian):

      • magic: "b3dm" (4 bytes)
      • version: 1 (u32)
      • byteLength (u32) — total tile size
      • featureTableJSONByteLength (u32)
      • featureTableBinaryByteLength (u32)
      • batchTableJSONByteLength (u32)
      • batchTableBinaryByteLength (u32)

      Returns Uint8Array