color8
color8()A BYTE_COLOR attribute: an sRGB RGBA uint8 color per element.
Hex codes such as ‘#FF8000’, or a list of them, can be wrapped as well.
Methods
| Name | Description |
|---|---|
| fill | Fill the array with a scalar value and sync to Blender. |
| partition | Partition the array in-place and sync to Blender. |
| put | Set values at the given flat indices and sync to Blender. |
| sort | Sort the array in-place and sync to Blender. |
fill
color8.fill(value)Fill the array with a scalar value and sync to Blender.
partition
color8.partition(*args, **kwargs)Partition the array in-place and sync to Blender.
put
color8.put(*args, **kwargs)Set values at the given flat indices and sync to Blender.
sort
color8.sort(*args, **kwargs)Sort the array in-place and sync to Blender.