Class EmptyPseudoClass
Related to:SoyWar.UIToolkit.PseudoClasses
/
Inherits from:objectPseudoClassEventPseudoClass<DetachFromVisualElementEvent,AttachToVisualElementEvent>
/
Implemented in:SoyWar.UIToolkit.dll
Implements interfaces:ICloneable
Description
The:emptypseudo-class represents any element that has no children depending on whether the search is done via container or hierachy.
Syntax
public class EmptyPseudoClass : EventPseudoClass<DetachFromVisualElementEvent, AttachToVisualElementEvent>, ICloneable
Implements
Inherited Members
Properties
Name | Description |
---|---|
TrickleDown | |
Host | Specifies whether the pseudo class should be called for hosts. |
Value | Value associated with the pseudo-class |
Methods
Name | Description |
---|---|
CheckOffEvent(PseudoClassManipulator, TOffEventType) | Invoke when the assigned Off event is called. |
CheckOnEvent(PseudoClassManipulator, TOnEventType) | Invoke when the assigned On event is called. |
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> |