PIE设置

设置PIE功能的窗口大小和其他选项

Windows
MacOS
Linux

可以两种方式打开 运行(Play) 设置面板:

  • 点击 编辑(Edit) > 编辑器偏好(Editor Preferences) 即可打开 运行(Play) 设置面板

    然后选择编辑器偏好(Editor Preferences)窗口的 运行(Play) 部分。

    PIE_Settings_Preferences.png

  • 或者点击 运行(Play) 下拉菜单底部的 高级设置(Advanced Settings) 将其打开。

    PIE_settings_buttonmenu.png

Play In Editor

Play In Editor 会话中时可通过 Play In Editor 设置修改鼠标控制行为。这些设置只应用于 关卡视口 中显示的 Play In Editor 会话。因此,没有需要设置的默认窗口大小。

设置

描述

游戏获取鼠标控制

Should Play-in-Editor automatically give mouse control to the game on PIE start (default = false). Note that this does not affect VR, which will always take focus

显示鼠标控制标签

Whether to show a label for mouse control gestures in the PIE view.

鼠标控制标签位置

Location on screen to anchor the mouse control label when in PIE mode.

在新窗口中运行

开始一个在新窗口中显示的 Play In Editor 会话时,这些设置将决定出现的新窗口的大小和初始位置。

设置

描述

新窗口大小(按像素计)

设置浮动PIE窗口的宽度和高度(按像素计):

  • The width of the new view port window in pixels (0 = use the desktop's screen resolution).

  • The height of the new view port window in pixels (0 = use the desktop's screen resolution).

  • 从常见窗口大小的列表中进行选取,其中包含手机和平板等设备的设置。

新窗口位置(按像素计)

设置浮动PIE窗口左上角的屏幕空间坐标(按像素计):

  • The position of the new view port window on the screen in pixels.

  • Whether the new window should be centered on the screen.

在Standalone游戏中运行

开始一个在standalone游戏窗口中显示的 Play In Editor 会话时,这些设置将决定出现的新窗口的大小和初始位置。此外,使用者还可使用选项将额外的命令行设置传递到游戏客户端上。

设置

描述

Standalone窗口大小(按像素计)

设置standalone游戏窗口的宽度和高度(按像素计):

  • The width of the standalone game window in pixels (0 = use the desktop's screen resolution).

  • The height of the standalone game window in pixels (0 = use the desktop's screen resolution).

  • 从常见窗口大小的列表中进行选取,其中包含手机和平板等设备的设置。

客户端命令行选项

为将被传至游戏客户端的额外设置生成一条命令行:

  • Extra parameters to be include as part of the command line for the standalone game.

多人游戏选项

这些是联网 Play In Editor 测试的基础和高级选项。除玩家数和专属服务器选项外,Play In 下拉菜单中还包含URL参数、游戏手柄路由,以及返回多进程测试法的设置。

设置

描述

玩家数量

The editor and listen server count as players, a dedicated server will not. Clients make up the remainder.

服务器游戏选项

Additional options that will be passed to the server as URL parameters, in the format ?bIsLanMatch=1?listen - any additional command line switches should be passed in the Command Line Arguments field below.

运行专属服务器

If checked, a separate dedicated server will be launched. Otherwise the first player will act as a listen server that all other players connect to.

将第一个游戏手柄路由到第二个客户端

When running multiple player windows in a single process, this option determines how the game pad input gets routed. If unchecked (default) then the 1st game pad is attached to the 1st window, 2nd to the 2nd window, and so on.

            If it is checked, the 1st game pad goes the 2nd window. The 1st window can then be controlled by keyboard/mouse, which is convenient if two people are testing on the same computer.

使用单一进程

Spawn multiple player windows in a single instance of [API:UE4] . This will load much faster, but has potential to have more issues.

欢迎来到全新虚幻引擎4文档站!

我们正在努力开发新功能,包括反馈系统,以便您能对我们的工作作出评价。但它目前还未正式上线。如果您对此页面有任何意见与在使用中遭遇任何问题,请前往文档反馈论坛告知我们。

新系统上线运行后,我们会及时通知您的。

发表反馈意见