Class VisualElementFocusChangeDirection
Define focus change directions for the VisualElementFocusRing.
Inherited Members
Namespace: UnityEngine.UIElements
Syntax
public class VisualElementFocusChangeDirection : FocusChangeDirection
Constructors
VisualElementFocusChangeDirection(Int32)
Declaration
protected VisualElementFocusChangeDirection(int value)
Parameters
Type | Name | Description |
---|---|---|
Int32 | value |
Properties
lastValue
Last value for the direction defined by this class.
Declaration
protected static VisualElementFocusChangeDirection lastValue { get; }
Property Value
Type | Description |
---|---|
VisualElementFocusChangeDirection |
left
The focus is moving to the left.
Declaration
public static FocusChangeDirection left { get; }
Property Value
Type | Description |
---|---|
FocusChangeDirection |
right
The focus is moving to the right.
Declaration
public static FocusChangeDirection right { get; }
Property Value
Type | Description |
---|---|
FocusChangeDirection |