@minecraft
    Preparing search index...

    Interface IVector3TimelinePlayerEntry

    A Vector3 timeline entry owned by a Timeline Player pane

    interface IVector3TimelinePlayerEntry {
        id: string;
        paneId: string;
        title: LocalizedString;
        addKeyframe(keyframe: IVector3Keyframe): void;
        getKeyframes(): IVector3Keyframe[];
        getSelectedKeyframeId(): string;
        removeKeyframe(id: string): void;
        setKeyframes(keyframes: IVector3Keyframe[]): void;
        setSelectedKeyframeId(keyframeId: string): void;
        setTitle(title: LocalizedString): void;
        updateKeyframe(keyframe: IVector3Keyframe): void;
    }

    Hierarchy (View Summary)

    Index

    Properties

    id: string

    Unique identifier for the entry.

    paneId: string

    Identifier of the parent Timeline Player pane.

    Display title shown next to the entry's graph.

    Methods

    • Returns string

      Get the currently selected keyframe identifier for this entry, or undefined if no keyframe in this entry is selected.

    • Parameters

      • id: string

        Identifier of the keyframe to remove.

      Returns void

      Remove a keyframe by its identifier.

    • Parameters

      • keyframeId: string

        Identifier of the keyframe to select, or undefined to deselect.

      Returns void

      Set the selected keyframe for this entry.