# ProcessAction

Type alias

Source: https://github.com/playcanvas/splat-transform/blob/b6424a5b3b929695fbaafe738a995adb1240d675/src/lib/process.ts#L243

A processing action to apply to splat data.

Actions can transform, filter, or analyze the data:
- `translate` - Move splats by a Vec3 offset
- `rotate` - Rotate splats by Euler angles (degrees)
- `scale` - Uniformly scale splats
- `filterNaN` - Remove splats with NaN/Inf values or a zero-norm rotation
- `filterByValue` - Keep splats matching a column condition
- `filterBands` - Remove spherical harmonic bands above a threshold
- `filterBox` - Keep splats within a bounding box
- `filterSphere` - Keep splats within a sphere
- `filterFloaters` - Remove splats not contributing to any occupied voxel (GPU)
- `filterCluster` - Keep splats in the connected cluster at a seed position (GPU)
- `stats` - Print per-LOD, per-column statistics to logger
- `info` - Print structural metadata to logger
- `mortonOrder` - Reorder splats by Morton code for spatial locality
- `decimate` - Simplify to target count via progressive pairwise merging

```ts
type ProcessAction = Translate | Rotate | Scale | FilterNaN | FilterByValue | FilterBands | FilterBox | FilterSphere | FilterFloaters | FilterCluster | ProcessParam | Stats | Info | MortonOrder | Decimate
```
