Interface CameraMovementPluginExportType

interface CameraMovementPluginExportType {
    move(moveArgs: Partial<MoveArgs>, duration: number, opts?: MoveOpts): Promise<boolean>;
    rotate(rotateArgs: Partial<RotateArgs>, duration: number, opts?: RotateOpts): Promise<boolean>;
}

Methods

Methods

  • 运镜:移动

    Parameters

    • moveArgs: Partial<MoveArgs>

      移动参数

    • duration: number

      移动耗时

    • Optionalopts: MoveOpts

      额外配置

    Returns Promise<boolean>

  • 运镜:旋转

    Parameters

    • rotateArgs: Partial<RotateArgs>

      旋转参数

    • duration: number

      旋转耗时

    • Optionalopts: RotateOpts

      额外配置

    Returns Promise<boolean>