Class InspectorCurveEditor
A custom curve editor made to be embedded in the inspector instead of a separate window.
Inherited Members
Namespace: UnityEditor.Rendering
Assembly: Unity.RenderPipelines.Core.Editor.dll
Syntax
public sealed class InspectorCurveEditor
Constructors
Name | Description |
---|---|
InspectorCurveEditor() | Creates a curve editor with default settings. |
InspectorCurveEditor(Settings) | Creates a curve editor with the given settings. |
Fields
Name | Description |
---|---|
settings | The current settings used for the curve editor. |
Methods
Name | Description |
---|---|
Add(SerializedProperty) | Adds a serialized curve to the editor. |
Add(SerializedProperty, CurveState) | Adds a serialized curve to the editor with a given state. |
Add(params SerializedProperty[]) | Adds an arbitrary number of serialized curves to the editor. |
GetCurveState(SerializedProperty) | Grabs the state for a given curve. |
GetSelection() | Gets the current selection. |
OnGUI(Rect) | Draws the curve editor. This is meant to be called in your custom editors. |
Remove(SerializedProperty) | Removes a single curve from the editor. |
RemoveAll() | Removes all the curve from the editor. |
SetCurveState(SerializedProperty, CurveState) | Sets the state for a given curve. |
SetKeyframe(SerializedProperty, int, Keyframe) | Sets a key for a given curve. |