API Reference > 0.19 > Palette
Palette Class
Represents a palette of 256 colors used in various places in F1GP.
Namespace: ArgData
Methods
Name | Description |
---|---|
CreateDrivingPalette() | Returns an instance of a PaletteWithRanges that represents the color palette that is used when driving in the game. |
CreateMenuPalette() | Returns an instance of a Palette that represents the color palette that is used in the driver selection menu. |
GetColor(Byte index) | Get the color at the specified index in the palette. index: Index of color to fetch. |
GetColor(Int32 index) | Get the color at the specified index in the palette. index: Index of color to fetch. |