wasm-spatial-core
    Preparing search index...

    Function encodePntsTile

    • Arguments

      • positionsFloat32Array of [x, y, z, ...].
      • center_x, center_y, center_z — Tile center coordinates.
      • colors — Optional Uint8Array of [r, g, b, ...].

      Returns a Uint8Array containing the complete .pnts binary.

      Parameters

      • positions: Float32Array
      • center_x: number
      • center_y: number
      • center_z: number
      • Optionalcolors: Uint8Array<ArrayBufferLike> | null

      Returns Uint8Array