voxolith

Role

One addressable colour of an entity. roles[i] describes voxel value i + 1.

Defined in: engine/src/entity.ts:53

Properties

PropertyTypeDescriptionDefined in
colorRGBDefault colour, used when the host has no opinion.engine/src/entity.ts:59
idstringStable identifier, e.g. "bark.dark". Hosts key restyling off this.engine/src/entity.ts:55
material?MaterialHintShading for the role's palette slot; plain diffuse when absent.engine/src/entity.ts:61
namestringHuman label for editors and previews.engine/src/entity.ts:57

On this page