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 |
---|---|
Inspector |
Creates a curve editor with default settings. |
Inspector |
Creates a curve editor with the given settings. |
Fields
Name | Description |
---|---|
settings | The current settings used for the curve editor. |
Methods
Name | Description |
---|---|
Add(Serialized |
Adds a serialized curve to the editor. |
Add(Serialized |
Adds a serialized curve to the editor with a given state. |
Add(params Serialized |
Adds an arbitrary number of serialized curves to the editor. |
Get |
Grabs the state for a given curve. |
Get |
Gets the current selection. |
On |
Draws the curve editor. This is meant to be called in your custom editors. |
Remove(Serialized |
Removes a single curve from the editor. |
Remove |
Removes all the curve from the editor. |
Set |
Sets the state for a given curve. |
Set |
Sets a key for a given curve. |