A Color Theme is a name and an array of Colors. 更多...
#include <SColorThemes.h>
Public 成员函数 | |
| int32 | FindApproxColor (const FLinearColor &InColor, float Tolerance=KINDA_SMALL_NUMBER) const |
| Check to see if a color is already present in the list | |
| const TArray< TSharedPtr< FColorInfo > > & | GetColors () const |
| Get a list of all the colors in the theme | |
| void | InsertNewColor (TSharedPtr< FLinearColor > InColor, int32 InsertPosition) |
| Insert a color at a specific point in the list and broadcast change | |
| void | RemoveAll () |
| Remove all colors from the list, broadcast change | |
| int32 | RemoveColor (const TSharedPtr< FLinearColor > InColor) |
| Remove specific color from the list, broadcast change | |
A Color Theme is a name and an array of Colors.
It also holds and array of refresh callbacks which it calls every time it changes at all.