import { Color } from '../../math'; import { Component } from '../component'; /** * Built-in MultiColor Component, defining an arbitrary number of colors for the Entity * * MultiColor colors will be cycled through on a per-vertex basis, allowing for per-vertex colouration */ export declare class MultiColor extends Component { readonly colors: ReadonlyArray; /** * Counter for the current Color used in nextColor() */ private currentColor; /** * Constructor. Take and store the colors to use * * @param colors the colors to use */ constructor(colors: ReadonlyArray); /** * Retrieve the next Color in the list and cycle the counter */ nextColor(): Color; }