color-attribute
schema/components/color-attribute/1.1.0/color-attribute.schema.json
A colour attribute stores colour values encoded as ABGR integers. It uses attribute_type = "color".
values— An array of ABGR-encoded integer colour values, one per geometric element.- Inherits from base-continuous-attribute.
Used by: one-of-attribute.
Properties
color-attribute (v1.1.0)
An attribute for color values.
| Property | Type | Description | Flags |
|---|---|---|---|
| name | String | The name of the attribute | ⬆️ ✅ |
| key | String | An identifier of the attribute, used to keep track of the attribute when it is renamed. | |
| The identifier must be unique within an attribute list. | ⬆️ ✅ | ||
| attribute_type | String | Type of the attribute. | ⬆️ ✅ |
| attribute_description | attribute-description | The attribute description record. | ⬆️ |
| attribute_type | String | ✅ | |
| values | color-array | The values of the attributes. | ✅ |
Legend
| Flag | Description |
|---|---|
| ⬆️ | Inherited property |
| ✅ | Required property |