# ParamMeta

interface in `@dioramajs/diorama/effects`

```ts
import type { ParamMeta } from '@dioramajs/diorama/effects'
```

One param in `meta.json`.

```ts
interface ParamMeta
```

## Members

| Name | Type | Description |
| --- | --- | --- |
| `attribute` | `string` | data-dio-<kebab>. |
| `caps?` | `{ high?: number; low?: number; medium?: number }` | Upper bounds by quality tier. |
| `default` | `string \| number \| boolean \| readonly number[]` | Default value. |
| `description` | `string` | One sentence, from `.doc.ts`. |
| `live` | `boolean` | false: a change re-runs setup (strings, choices, rebuild). |
| `name` | `string` | The param name in code. |
| `preload` | `boolean` | In the light entry: readable and tweenable before the module loads. |
| `range?` | `readonly [number, number]` | Bounds of a slider, from `.doc.ts`. |
| `step?` | `number` | Slider step, from `.doc.ts`. |
| `type` | `'string' \| 'number' \| 'boolean' \| 'vec3' \| 'vec2' \| 'vec4' \| 'color' \| 'choice'` | Kind of value. |
| `unit?` | `string` | Unit, from `.doc.ts`. |
| `values?` | `readonly string[]` | Choices of a oneOf param. |

Also exported from `@dioramajs/effects`.

Defined in [packages/effects/src/doc.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/effects/src/doc.ts#L142).
