@minecraft/server-editor
    Preparing search index...

    Interface IVector3TimelinePlayerEntryBeta

    A Vector3 timeline entry owned by a Timeline Player pane

    interface IVector3TimelinePlayerEntry {
        id: string;
        paneId: string;
        title: LocalizedString | undefined;
        addKeyframe(keyframe: IVector3Keyframe): void;
        getKeyframes(): IVector3Keyframe[];
        getSelectedKeyframeId(): string | undefined;
        removeKeyframe(id: string): void;
        setKeyframes(keyframes: IVector3Keyframe[]): void;
        setSelectedKeyframeId(keyframeId: string | undefined): void;
        setTitle(title: LocalizedString | undefined): 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.

    title: LocalizedString | undefined

    Display title shown next to the entry's graph.

    Methods

    • Beta

      Parameters

      Returns void

      Add a keyframe.

    • Beta

      Returns string | undefined

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

    • Beta

      Parameters

      • id: string

        Identifier of the keyframe to remove.

      Returns void

      Remove a keyframe by its identifier.

    • Beta

      Parameters

      Returns void

      Bulk replace all keyframes.

    • Beta

      Parameters

      • keyframeId: string | undefined

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

      Returns void

      Set the selected keyframe for this entry.

    • Beta

      Parameters

      Returns void

      Update an existing keyframe. Matched by the id field.