'Declaration Public Function GenerateOctreePalette( _ ByVal maxColors As System.Integer, _ Optional ByVal skipTransparentPixels As System.Boolean _ ) As System.UInteger()
public System.uint[] GenerateOctreePalette( System.int maxColors, System.bool skipTransparentPixels )
Parameters
- maxColors
- The maximum number of opaque colors in the palette, from 8 and above.
- skipTransparentPixels
- Indicates if the pixels with value of alpha less than 128 shouldn't be taken into account.
Return Value
The resulting array with palette colors.