Class Vector3Field
Vector3 Field UI element.
Implements
INotifyValueChanged<Vector3>
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: solution.dll
Syntax
public class Vector3Field : BaseVisualElement, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, IContextOverrideElement, IInputElement<Vector3>, IValidatableElement<Vector3>, ISizeableElement, INotifyValueChanging<Vector3>, INotifyValueChanged<Vector3>
Constructors
Vector3Field()
Default constructor.
Declaration
public Vector3Field()
Fields
containerUssClassName
The Vector3Field container styling class.
Declaration
public static readonly string containerUssClassName
Field Value
Type | Description |
---|---|
string |
sizeUssClassName
The Vector3Field size styling class.
Declaration
public static readonly string sizeUssClassName
Field Value
Type | Description |
---|---|
string |
ussClassName
The Vector3Field main styling class.
Declaration
public static readonly string ussClassName
Field Value
Type | Description |
---|---|
string |
xFieldUssClassName
The Vector3Field X NumericalField styling class.
Declaration
public static readonly string xFieldUssClassName
Field Value
Type | Description |
---|---|
string |
yFieldUssClassName
The Vector3Field Y NumericalField styling class.
Declaration
public static readonly string yFieldUssClassName
Field Value
Type | Description |
---|---|
string |
zFieldUssClassName
The Vector3Field Z NumericalField styling class.
Declaration
public static readonly string zFieldUssClassName
Field Value
Type | Description |
---|---|
string |
Properties
contentContainer
The content container of the Vector3Field.
Declaration
public override VisualElement contentContainer { get; }
Property Value
Type | Description |
---|---|
VisualElement |
Overrides
invalid
The invalid state of the Vector3Field.
Declaration
public bool invalid { get; set; }
Property Value
Type | Description |
---|---|
bool |
size
The size of the Vector3Field.
Declaration
public Size size { get; set; }
Property Value
Type | Description |
---|---|
Size |
validateValue
The validation function of the Vector3Field.
Declaration
public Func<Vector3, bool> validateValue { get; set; }
Property Value
Type | Description |
---|---|
Func<Vector3, bool> |
value
The value of the Vector3Field.
Declaration
public Vector3 value { get; set; }
Property Value
Type | Description |
---|---|
Vector3 |
Methods
SetValueWithoutNotify(Vector3)
Sets the value of the Vector3Field without notifying the change event.
Declaration
public void SetValueWithoutNotify(Vector3 newValue)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | newValue | The new value to set. |
Implements
UnityEngine.UIElements.INotifyValueChanged<T>