Class Vector2Field
Vector2 Field UI element.
Implements
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: solution.dll
Syntax
public class Vector2Field : VisualElement, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, IValidatableElement<Vector2>, ISizeableElement, INotifyValueChanging<Vector2>, INotifyValueChanged<Vector2>
Constructors
Name | Description |
---|---|
Vector2Field() | Default constructor. |
Fields
Name | Description |
---|---|
containerUssClassName | The Vector2Field container styling class. |
sizeUssClassName | The Vector2Field size styling class. |
ussClassName | The Vector2Field main styling class. |
xFieldUssClassName | The Vector2Field X NumericalField styling class. |
yFieldUssClassName | The Vector2Field Y NumericalField styling class. |
Properties
Name | Description |
---|---|
contentContainer | The content container of the Vector2Field. |
invalid | The invalid state of the Vector2Field. |
size | The size of the Vector2Field. |
validateValue | The validation function to use to validate the value. |
value | The value of the Vector2Field. |
Methods
Name | Description |
---|---|
SetValueWithoutNotify(Vector2) | Set the value of the Vector2Field without notifying the change. |