interface PluginState {
    config?: {
        moveEffect?: MovePanoEffect;
        speedConfig?: Partial<{
            moveSpeed: number;
            moveSpeedUnit: "m/s" | "m/ms";
            rotateSpeed: number;
            rotateSpeedUnit: "rad/s" | "rad/ms";
        }>;
    };
    disposed: boolean;
    enabled: boolean;
    playing: boolean;
    speed: number;
    visible: boolean;
}

Hierarchy

  • State
    • PluginState

Properties

config?: {
    moveEffect?: MovePanoEffect;
    speedConfig?: Partial<{
        moveSpeed: number;
        moveSpeedUnit: "m/s" | "m/ms";
        rotateSpeed: number;
        rotateSpeedUnit: "rad/s" | "rad/ms";
    }>;
}

插件的配置项

Type declaration

  • OptionalmoveEffect?: MovePanoEffect

    five 走点动画

  • OptionalspeedConfig?: Partial<{
        moveSpeed: number;
        moveSpeedUnit: "m/s" | "m/ms";
        rotateSpeed: number;
        rotateSpeedUnit: "rad/s" | "rad/ms";
    }>

    速度配置

disposed: boolean

是否销毁

enabled: boolean

插件是否启用

playing: boolean

是否正在播放

speed: number

播放速度

visible: boolean

是否可见