Skip to main content

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.

PropertyTypeDescriptionFlags
nameStringThe name of the attribute⬆️ ✅
keyStringAn 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_typeStringType of the attribute.⬆️ ✅
attribute_descriptionattribute-descriptionThe attribute description record.⬆️
attribute_typeString✅
valuescolor-arrayThe values of the attributes.✅

Legend​

FlagDescription
⬆️Inherited property
✅Required property

Was this page helpful?