The array property ClassColors allows to access the color of a particular class which is specified by the parameter ClsIx (valid range: 0..NClasses). If you assign a color to a non-existent class (i.e. if the ClsIx is less than 0 or greater than NClasses) the call will be ignored on write or return black on read.
Please note that the particle class colors are independent of the global class color palette.
|