Skip to main content

Variable: VoxelStatistics

const VoxelStatistics: VoxelStatisticConstants

Runtime voxel statistic constants: built-in names map to wire-type strings.

The statistic of a representation of the voxel data. Average and ForegroundMajority are available immediately. Extension statistics are added when you call registerVoxelStatistic({ name: 'MINIMUM', statistic: 'myOrg:minimum', ... }).

For compile-time names, augment VoxelStatisticConstants only — Enums.VoxelStatistics is typed from it.

Defined in​

packages/core/src/enums/VoxelStatistics.ts:29