unreal.SlateColor
¶
- class unreal.SlateColor(specified_color=[1.0, 0.0, 1.0, 1.0], color_use_rule=SlateColorStylingMode.USE_COLOR_SPECIFIED)¶
Bases:
unreal.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¶
[Read-Write] The rule for which color to pick.
- Type
- property specified_color¶
[Read-Write] The current specified color; only meaningful when ColorToUse == UseColor_Specified.
- Type