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

    Class CurveEditor

    Inheritance
    System.Object
    CurveEditor
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ToString()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: UnityEditor.Rendering.PostProcessing
    Syntax
    public sealed class CurveEditor

    Constructors

    CurveEditor()

    Declaration
    public CurveEditor()

    CurveEditor(CurveEditor.Settings)

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

    Properties

    settings

    Declaration
    public CurveEditor.Settings settings { get; }
    Property Value
    Type Description
    CurveEditor.Settings

    Methods

    Add(SerializedProperty)

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

    Add(SerializedProperty, CurveEditor.CurveState)

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

    Add(SerializedProperty[])

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

    GetCurveState(SerializedProperty)

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

    GetSelection()

    Declaration
    public CurveEditor.Selection GetSelection()
    Returns
    Type Description
    CurveEditor.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, CurveEditor.CurveState)

    Declaration
    public void SetCurveState(SerializedProperty curve, CurveEditor.CurveState state)
    Parameters
    Type Name Description
    SerializedProperty curve
    CurveEditor.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