docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor Selection

    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.

    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)