docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class InspectorCurveEditor

    A custom curve editor made to be embedded in the inspector instead of a separate window.

    Inheritance
    object
    InspectorCurveEditor
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    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.

    Extension Methods

    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, bool)
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)