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).
The input splat data.
Array of actions to apply in sequence.
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 }]); Copy
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 }]);
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).