Struct SelectionColorBlock
- Namespace
- Fallencake.UI
- Assembly
- Fallencake.UI.dll
[Serializable]
public struct SelectionColorBlock : ISelectableStates<Color>
- Implements
-
ISelectableStates<Color>
Fields
defaultColorBlock
Simple getter for a code generated default ColorBlock.
public static SelectionColorBlock defaultColorBlock
Field Value
Properties
ColorMultiplier
Multiplier applied to colors (allows brightening greater then base color).
public float ColorMultiplier { get; set; }
Property Value
- float
DisabledState
The disabled color for this color block.
public Color DisabledState { get; set; }
Property Value
- Color
FadeDuration
How long a color transition between states should take.
public float FadeDuration { get; set; }
Property Value
- float
HighlightedState
The highlight color for this color block.
public Color HighlightedState { get; set; }
Property Value
- Color
NormalState
The normal color for this color block.
public Color NormalState { get; set; }
Property Value
- Color
PressedState
The pressed color for this color block.
public Color PressedState { get; set; }
Property Value
- Color
SelectedState
The selected color for this color block.
public Color SelectedState { get; set; }
Property Value
- Color
Methods
Equals(SelectionColorBlock)
public bool Equals(SelectionColorBlock other)
Parameters
otherSelectionColorBlock
Returns
- bool
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
- bool
GetHashCode()
public override int GetHashCode()
Returns
- int
Operators
operator ==(SelectionColorBlock, SelectionColorBlock)
public static bool operator ==(SelectionColorBlock point1, SelectionColorBlock point2)
Parameters
point1SelectionColorBlockpoint2SelectionColorBlock
Returns
- bool
operator !=(SelectionColorBlock, SelectionColorBlock)
public static bool operator !=(SelectionColorBlock point1, SelectionColorBlock point2)
Parameters
point1SelectionColorBlockpoint2SelectionColorBlock
Returns
- bool