• Gets the particles color

    Parameters

    • engine: Engine

      the engine managing the current parameters

    • Optionalinput: string | IRangeColor

      the input color to convert in IRgb object

    • Optionalindex: number

      the array index, if needed

    • useIndex: boolean = true

      set to false for ignoring the index parameter

    Returns IRgb | undefined

    returns a RGB color in the given range