unreal.SlateColor

class unreal.SlateColor(specified_color: LinearColor = Ellipsis, color_use_rule: SlateColorStylingMode = Ellipsis)

Bases: StructBase

A Slate color can be a directly specified value, or the color can be pulled from a WidgetStyle.

C++ Source:

  • Module: SlateCore

  • File: SlateColor.h

Editor Properties: (see get_editor_property/set_editor_property)

  • color_use_rule (SlateColorStylingMode): [Read-Write] The rule for which color to pick.

  • specified_color (LinearColor): [Read-Write] The current specified color; only meaningful when ColorToUse == UseColor_Specified.

property color_use_rule: SlateColorStylingMode

[Read-Write] The rule for which color to pick.

Type:

(SlateColorStylingMode)

property specified_color: LinearColor

[Read-Write] The current specified color; only meaningful when ColorToUse == UseColor_Specified.

Type:

(LinearColor)