Editors::ColorChangedMessage class

A message sent every time the user changes the color of the creation in the editor.

Public static variables

static const uint32_t ID

Constructors, destructors, conversion operators

ColorChangedMessage(Math::Color color, Object* object, uint32_t regionFilter, bool isDefaultColor, int colorIndex)

Public functions

auto GetColor() -> Math::Color
Returns the color selected by the user.
auto GetColorChooserObject() -> Object*
auto GetRegionFilter() -> uint32_t
In block painting, the instance ID of a file that defines which region is painted in partial styles; The file is assumed to be in the folder with group ID 0x406A6F00.
auto IsDefaultColor() -> bool
auto GetColorIndex() -> int

Function documentation

uint32_t Editors::ColorChangedMessage::GetRegionFilter()

In block painting, the instance ID of a file that defines which region is painted in partial styles; The file is assumed to be in the folder with group ID 0x406A6F00.

In skinpaints, this is the skinpaint index (0 -> base, 1 -> coat, 2 -> detail).