docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct InspectorCurveEditor.Selection

    A structure holding the state of the current selection.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEditor.Rendering
    Assembly: Unity.RenderPipelines.Core.Editor.dll
    Syntax
    public struct InspectorCurveEditor.Selection

    Constructors

    Selection(SerializedProperty, int, Keyframe?)

    Creates a new selection state.

    Declaration
    public Selection(SerializedProperty curve, int keyframeIndex, Keyframe? keyframe)
    Parameters
    Type Name Description
    SerializedProperty curve

    A reference to the serialized curve.

    int keyframeIndex

    The currently selected key index, or -1 if none is selected.

    Keyframe? keyframe

    The key itself, or null if none is selected.

    Fields

    curve

    A reference to the serialized AnimationCurve.

    Declaration
    public SerializedProperty curve
    Field Value
    Type Description
    SerializedProperty

    keyframe

    The key itself, or null if none is selected.

    Declaration
    public Keyframe? keyframe
    Field Value
    Type Description
    Keyframe?

    keyframeIndex

    The currently selected key index, or -1 if none is selected.

    Declaration
    public int keyframeIndex
    Field Value
    Type Description
    int

    Extension Methods

    ReflectionUtils.GetField(object, string)
    ReflectionUtils.GetFields(object)
    ReflectionUtils.Invoke(object, string, params object[])
    ReflectionUtils.SetField(object, string, object)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, T)
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)