@minecraft
    正在准备搜索索引...

    接口 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;
    }

    层级 (查看层级一览)

    索引

    属性

    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.

    方法

    • 返回 string

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

    • 参数

      • id: string

        Identifier of the keyframe to remove.

      返回 void

      Remove a keyframe by its identifier.

    • 参数

      • keyframeId: string

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

      返回 void

      Set the selected keyframe for this entry.