void setColorAt(int index, Color color) { instanceColor ??= InstancedBufferAttribute( Float32Array((instanceMatrix!.count * 3).toInt()), 3, false); return color.toArray(instanceColor!.array, index * 3); }