Role
One addressable colour of an entity. roles[i] describes voxel value i + 1.
Defined in: engine/src/entity.ts:53
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
color | RGB | Default colour, used when the host has no opinion. | engine/src/entity.ts:59 |
id | string | Stable identifier, e.g. "bark.dark". Hosts key restyling off this. | engine/src/entity.ts:55 |
material? | MaterialHint | Shading for the role's palette slot; plain diffuse when absent. | engine/src/entity.ts:61 |
name | string | Human label for editors and previews. | engine/src/entity.ts:57 |