Documentation

Unity Engine

Download Unity

Unity Engine

QuaternionEulerField

A Quaternion field that edits the rotation as X, Y and Z euler angles, in degrees. As in the Transform inspector, angles that were not typed in the field are shown between -180 and 180. For more information, refer to UXML element QuaternionEulerField.
Read time 10 minutesLast updated a day ago

Definition

[UxmlElement(libraryPath = "Numeric Fields")][Icon("UIToolkit/Icons/QuaternionEulerField.png")]public class QuaternionEulerField : BaseCompositeField<Quaternion, FloatField, float>, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, ICustomStyle, IBindable, IMixedValueSupport, INotifyValueChanged<Quaternion>

Static Fields

Value

Description

inputUssClassNameUSS class name of input elements in elements of this type.
labelUssClassNameUSS class name of labels in elements of this type.
ussClassNameUSS class name of elements of this type.

Constructors

Constructor

Description

QuaternionEulerField()Initializes and returns an instance of QuaternionEulerField.
QuaternionEulerField(System.String)Initializes and returns an instance of QuaternionEulerField.

Methods

Method

Description

SetValueWithoutNotifySets the value without sending a ChangeEvent<T>. The displayed euler angles only change when the new value is a different rotation.

Inheritance

Inherited Members