Class InspectorCurveEditor | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class InspectorCurveEditor

    Inheritance
    System.Object
    InspectorCurveEditor
    Namespace: UnityEditor.Rendering
    Syntax
    public sealed class InspectorCurveEditor

    Constructors

    InspectorCurveEditor()

    Declaration
    public InspectorCurveEditor()

    InspectorCurveEditor(InspectorCurveEditor.Settings)

    Declaration
    public InspectorCurveEditor(InspectorCurveEditor.Settings settings)
    Parameters
    Type Name Description
    InspectorCurveEditor.Settings settings

    Fields

    settings

    Declaration
    public readonly InspectorCurveEditor.Settings settings
    Field Value
    Type Description
    InspectorCurveEditor.Settings

    Methods

    Add(SerializedProperty)

    Declaration
    public void Add(SerializedProperty curve)
    Parameters
    Type Name Description
    SerializedProperty curve

    Add(SerializedProperty, InspectorCurveEditor.CurveState)

    Declaration
    public void Add(SerializedProperty curve, InspectorCurveEditor.CurveState state)
    Parameters
    Type Name Description
    SerializedProperty curve
    InspectorCurveEditor.CurveState state

    Add(SerializedProperty[])

    Declaration
    public void Add(params SerializedProperty[] curves)
    Parameters
    Type Name Description
    SerializedProperty[] curves

    GetCurveState(SerializedProperty)

    Declaration
    public InspectorCurveEditor.CurveState GetCurveState(SerializedProperty curve)
    Parameters
    Type Name Description
    SerializedProperty curve
    Returns
    Type Description
    InspectorCurveEditor.CurveState

    GetSelection()

    Declaration
    public InspectorCurveEditor.Selection GetSelection()
    Returns
    Type Description
    InspectorCurveEditor.Selection

    OnGUI(Rect)

    Declaration
    public bool OnGUI(Rect rect)
    Parameters
    Type Name Description
    Rect rect
    Returns
    Type Description
    System.Boolean

    Remove(SerializedProperty)

    Declaration
    public void Remove(SerializedProperty curve)
    Parameters
    Type Name Description
    SerializedProperty curve

    RemoveAll()

    Declaration
    public void RemoveAll()

    SetCurveState(SerializedProperty, InspectorCurveEditor.CurveState)

    Declaration
    public void SetCurveState(SerializedProperty curve, InspectorCurveEditor.CurveState state)
    Parameters
    Type Name Description
    SerializedProperty curve
    InspectorCurveEditor.CurveState state

    SetKeyframe(SerializedProperty, Int32, Keyframe)

    Declaration
    public void SetKeyframe(SerializedProperty curve, int keyframeIndex, Keyframe keyframe)
    Parameters
    Type Name Description
    SerializedProperty curve
    System.Int32 keyframeIndex
    Keyframe keyframe
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023