splat-transform API Reference - v1.0.0
    Preparing search index...

    Function processDataTable

    • Applies a sequence of processing actions to splat data.

      Actions are applied in order and can include transformations (translate, rotate, scale), filters (NaN, value, box, sphere, bands), and analysis (summary).

      Parameters

      • dataTable: DataTable

        The input splat data.

      • processActions: ProcessAction[]

        Array of actions to apply in sequence.

      Returns DataTable

      The processed DataTable (may be a new instance if filtered).

      import { Vec3 } from 'playcanvas';

      const processed = processDataTable(dataTable, [
      { kind: 'scale', value: 0.5 },
      { kind: 'translate', value: new Vec3(0, 1, 0) },
      { kind: 'filterNaN' },
      { kind: 'filterByValue', columnName: 'opacity', comparator: 'gt', value: 0.1 }
      ]);