Class GradientField
Inheritance
GradientField
Implements
Inherited Members
Namespace: UnityEditor.Experimental.UIElements
Assembly: UnityEditor.dll
Syntax
public class GradientField : BaseField<Gradient>, IEventHandler, ITransform, IUIElementDataWatch, IEnumerable<VisualElement>, IEnumerable, IVisualElementScheduler, IStyle, IBindable, INotifyValueChanged<Gradient>
Constructors
| Improve this Doc View SourceGradientField()
Declaration
public GradientField()
Properties
| Improve this Doc View Sourcevalue
Declaration
public override Gradient value { get; set; }
Property Value
Type | Description |
---|---|
Gradient |
Overrides
UnityEngine.Experimental.UIElements.BaseField<UnityEngine.Gradient>.value
Methods
| Improve this Doc View SourceExecuteDefaultAction(EventBase)
Declaration
protected override void ExecuteDefaultAction(EventBase evt)
Parameters
Type | Name | Description |
---|---|---|
EventBase | evt |
Overrides
| Improve this Doc View SourceOnPersistentDataReady()
Declaration
public override void OnPersistentDataReady()
Overrides
UnityEngine.Experimental.UIElements.BaseField<UnityEngine.Gradient>.OnPersistentDataReady()
|
Improve this Doc
View Source
SetValueAndNotify(Gradient)
Declaration
[Obsolete("This method is replaced by simply using this.value. The default behaviour has been changed to notify when changed. If the behaviour is not to be notified, SetValueWithoutNotify() must be used.", false)]
public override void SetValueAndNotify(Gradient newValue)
Parameters
Type | Name | Description |
---|---|---|
Gradient | newValue |
Overrides
UnityEngine.Experimental.UIElements.BaseField<UnityEngine.Gradient>.SetValueAndNotify(UnityEngine.Gradient)
|
Improve this Doc
View Source
SetValueWithoutNotify(Gradient)
Declaration
public override void SetValueWithoutNotify(Gradient newValue)
Parameters
Type | Name | Description |
---|---|---|
Gradient | newValue |
Overrides
UnityEngine.Experimental.UIElements.BaseField<UnityEngine.Gradient>.SetValueWithoutNotify(UnityEngine.Gradient)