Vertex Viewer SDK
    Preparing search index...

    Variable fromArrayConst

    fromArray: (rgba: number[] | Uint8ClampedArray) => Color.Color

    Converts an array of four values to a Color. The sequence of the array is expected to be [r, g, b] or [r, g, b, a].

    Type Declaration

      • (rgba: number[] | Uint8ClampedArray): Color.Color
      • Parameters

        • rgba: number[] | Uint8ClampedArray

        Returns Color.Color