Interface ICustomAnimationCurveFieldPicker
Interface for the editor a AnimationCurveField opens when it is pressed.
Namespace: Unity.AppUI.UI
Assembly: Unity.AppUI.dll
Syntax
public interface ICustomAnimationCurveFieldPicker
Remarks
Mirrors ICustomColorFieldPicker. There is no default implementation because
UITK has no CurveEditor yet; until one lands, assign this to host the Editor's own
curve editor, or leave it null and the field is a read-only curve thumbnail.
Methods
Show(AnimationCurveField, Action<AnimationCurve>, AnimationCurve)
Show the curve editor.
Declaration
void Show(AnimationCurveField owner, Action<AnimationCurve> onValueChanging, AnimationCurve initialValue)
Parameters
| Type | Name | Description |
|---|---|---|
| AnimationCurveField | owner | The field that requested the editor. |
| Action<AnimationCurve> | onValueChanging | Callback invoked as the user edits. Sends a ChangingEvent<TValue>. |
| AnimationCurve | initialValue | The curve assigned when the editor opened. |