ColorScope¶
Namespace:
SideXP.Core| Inherits from:GUI.Scope
Custom GUI Scope for temporarily changing the GUI color.
Constructors¶
ColorScope(Color)¶
Begins a scope with custom GUI color.
Parameters
color: The new GUI color.
ColorScope(FColor, bool)¶
Begins a scope with custom GUI color.
Parameters
color: The new GUI color.ignoreAlpha: If enabled, the alpha component of the given color is ignored.
Methods¶
CloseScope()¶
Restores the previous GUI color.