# VoxelOccupancyMetadata

Interface · category: Other

Source: https://github.com/playcanvas/engine/blob/64089771243fe28a9b9d2b4de538b99b07c75097/src/extras/voxel/voxel-occupancy.js#L16

## Properties

### gridBounds

```ts
gridBounds: { max: number[]; min: number[] }
```

The bounds of the voxel grid, in the
space of the voxels.

**Properties**

- `max` (`number[]`)
- `min` (`number[]`)

### leafDataCount

```ts
leafDataCount: number
```

The number of 32 bit words of the voxel masks of the blocks.

### leafSize

```ts
leafSize: number
```

The number of voxels along each axis of a block of the octree.

### nodeCount

```ts
nodeCount: number
```

The number of nodes of the octree, a 32 bit word each.

### treeDepth

```ts
treeDepth: number
```

The depth of the octree.

### version

```ts
version: string
```

The version of the voxel format.

### voxelResolution

```ts
voxelResolution: number
```

The size of a voxel, in world units.
