Companion

Functions

Link copied to clipboard
fun equals(left: ColorGeometryInstanceAttribute? = definedExternally, right: ColorGeometryInstanceAttribute? = definedExternally): Boolean

Compares the provided ColorGeometryInstanceAttributes and returns true if they are equal, false otherwise.

Link copied to clipboard

Creates a new ColorGeometryInstanceAttribute instance given the provided Color.

Link copied to clipboard
fun toValue(color: Color, result: Uint8Array? = definedExternally): Uint8Array

Converts a color to a typed array that can be used to assign a color attribute.