Interface IValueField<T>
Base interface for UIElements text value fields.
Namespace: UnityEditor.UIElements
Syntax
public interface IValueField<T>
Type Parameters
Name | Description |
---|---|
T |
Properties
value
The value of the field.
Declaration
T value { get; set; }
Property Value
Type | Description |
---|---|
T |
Methods
ApplyInputDeviceDelta(Vector3, DeltaSpeed, T)
Modify the value using a 3D delta and a speed, typically coming from an input device.
Declaration
void ApplyInputDeviceDelta(Vector3 delta, DeltaSpeed speed, T startValue)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | delta | A vector used to compute the value change. |
DeltaSpeed | speed | A multiplier for the value change. |
T | startValue | The start value. |
StartDragging()
Indicate when the mouse dragging is starting.
Declaration
void StartDragging()
StopDragging()
Indicate when the mouse dragging is ending.
Declaration
void StopDragging()