Struct InspectorCurveEditor.CurveState
A structure holding the state of a single curve in the editor.
Inherited Members
Namespace: UnityEditor.Rendering
Assembly: Unity.RenderPipelines.Core.Editor.dll
Syntax
public struct InspectorCurveEditor.CurveState
Fields
| Name | Description |
|---|---|
| color | The color used to draw the curve. |
| editable | Is the curve editable? |
| handleWidth | The visual thickness of the curve handles. |
| loopInBounds | Does this curve loop in the defined boudaries? |
| minPointCount | The minimum allowed number of points on the curve. |
| onlyShowHandlesOnSelection | Should the handles only be visible when the curve is selected? |
| showNonEditableHandles | Should the handles be visible on non-editable curves? |
| visible | Is the curve visible? |
| width | The visual thickness of the curve. |
| zeroKeyConstantValue | A constant value to use when the curve doesn't have any point. |
Properties
| Name | Description |
|---|---|
| defaultState | Default curve state.
|