Class Vector3IntField
Vector3Int Field UI element.
Implements
INotifyValueChanged<Vector3Int>
Inherited Members
VisualElement.ExecuteDefaultAction(EventBase)
VisualElement.Focus()
VisualElement.Overlaps(Rect)
VisualElement.ToString()
VisualElement.GetFirstOfType<T>()
VisualElement.GetFirstAncestorOfType<T>()
VisualElement.canGrabFocus
VisualElement.focusController
VisualElement.cacheAsBitmap
CallbackEventHandler.RegisterCallback<TEventType>(EventCallback<TEventType>, TrickleDown)
CallbackEventHandler.RegisterCallback<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType>, TUserArgsType, TrickleDown)
CallbackEventHandler.UnregisterCallback<TEventType>(EventCallback<TEventType>, TrickleDown)
CallbackEventHandler.UnregisterCallback<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType>, TrickleDown)
Namespace: Unity.AppUI.UI
Assembly: Unity.AppUI.dll
Syntax
public class Vector3IntField : BaseVisualElement, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, IContextOverrideElement, IAdditionalDataHolder, IInputElement<Vector3Int>, IValidatableElement<Vector3Int>, ISizeableElement, INotifyValueChanging<Vector3Int>, INotifyValueChanged<Vector3Int>
Constructors
Vector3IntField()
Default constructor.
Declaration
public Vector3IntField()
Fields
containerUssClassName
The Vector3Field container styling class.
Declaration
public const string containerUssClassName = "appui-vector3field__container"
Field Value
Type | Description |
---|---|
string |
sizeUssClassName
The Vector3Field size styling class.
Declaration
public const string sizeUssClassName = "appui-vector3field--size-"
Field Value
Type | Description |
---|---|
string |
ussClassName
The Vector3Field main styling class.
Declaration
public const string ussClassName = "appui-vector3field"
Field Value
Type | Description |
---|---|
string |
xFieldUssClassName
The Vector3Field X NumericalField styling class.
Declaration
public const string xFieldUssClassName = "appui-vector3field__x-field"
Field Value
Type | Description |
---|---|
string |
yFieldUssClassName
The Vector3Field Y NumericalField styling class.
Declaration
public const string yFieldUssClassName = "appui-vector3field__y-field"
Field Value
Type | Description |
---|---|
string |
zFieldUssClassName
The Vector3Field Z NumericalField styling class.
Declaration
public const string zFieldUssClassName = "appui-vector3field__z-field"
Field Value
Type | Description |
---|---|
string |
Properties
contentContainer
The content container of the Vector3IntField.
Declaration
public override VisualElement contentContainer { get; }
Property Value
Type | Description |
---|---|
VisualElement |
Overrides
invalid
The invalid state of the Vector3IntField.
Declaration
public bool invalid { get; set; }
Property Value
Type | Description |
---|---|
bool |
size
The size of the Vector3IntField.
Declaration
public Size size { get; set; }
Property Value
Type | Description |
---|---|
Size |
validateValue
The validation function of the Vector3IntField.
Declaration
public Func<Vector3Int, bool> validateValue { get; set; }
Property Value
Type | Description |
---|---|
Func<Vector3Int, bool> |
value
The value of the Vector3IntField.
Declaration
public Vector3Int value { get; set; }
Property Value
Type | Description |
---|---|
Vector3Int |
Methods
GetSizeUssClassName(Size)
Declaration
public static string GetSizeUssClassName(Size enumValue)
Parameters
Type | Name | Description |
---|---|---|
Size | enumValue |
Returns
Type | Description |
---|---|
string |
SetValueWithoutNotify(Vector3Int)
Sets the value of the Vector3IntField without notifying any listeners.
Declaration
public void SetValueWithoutNotify(Vector3Int newValue)
Parameters
Type | Name | Description |
---|---|---|
Vector3Int | newValue | The new value to set. |
Implements
UnityEngine.UIElements.INotifyValueChanged<T>