Class HoverPseudoClass
Related to:SoyWar.UIToolkit.PseudoClasses
/
Inherits from:objectPseudoClass
/
Implemented in:SoyWar.UIToolkit.dll
Implements interfaces:ICloneable
Description
The:hoverpseudo-class matches when the user interacts with an element with a pointing device, but does not necessarily activate it. It is generally triggered when the user hovers over an element with the cursor (mouse pointer).
Syntax
public class HoverPseudoClass : PseudoClass, ICloneable
Methods
Name |
---|
CheckEvent<TEvent>(TEvent, VisualElement, HashSet<int>) |
Inherited Members
Properties
Name | Description |
---|---|
Host | Specifies whether the pseudo class should be called for hosts. |
Value | Value associated with the pseudo-class |
Methods
Name | Description |
---|---|
AddManipulatorCallback(PseudoClassManipulator) | Add events callback to thePseudoClassManipulator |
Add<T>(string) | Add a new usable pseudo class |
Check(PseudoClassManipulator) | Checks if thePseudoClassManipulatoris valid according to the rules of the current pseudo-class. |
Check(ICollection<VisualElement>, VisualElement, TypeSearch) | Checks if theVisualElementis valid according to the rules of the current pseudo-class. |
Clone() | Creates a new object that is a copy of the current instance. |
CreateManipulator(ICollection<VisualElement>, VisualElement, TypeSearch, bool, Action<bool>) | Creates aPseudoClassManipulatorto handle various events. |
GetValueString() | Retrieves the value to be displayed as a string inSoyWar.UIToolkit.PseudoClasses.PseudoClass.ToString(). |
PointerInside(VisualElement, int) | Checks if a pointer is inside the VisualElement. |
PointerInside(VisualElement, Vector2) | Checks if the specified position is inside theVisualElement. |
Validate() | Checks if the pseudo-class is valid. |
Validate(out int, out int) | Checks if the pseudo class value is <even | odd | An+B> |