This page has been translated automatically.
视频教程
界面
要领
高级
实用建议
专业(SIM)
UnigineEditor
界面概述
资源工作流程
版本控制
设置和首选项
项目开发
调整节点参数
Setting Up Materials
设置属性
照明
Sandworm
使用编辑器工具执行特定任务
如何擴展編輯器功能
嵌入式节点类型
Nodes
Objects
Effects
Decals
光源
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
编程
基本原理
搭建开发环境
使用范例
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
File Formats
材质和着色器
Rebuilding the Engine Tools
GUI
双精度坐标
应用程序接口
Animations-Related Classes
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
VR-Related Classes
创建内容
内容优化
材质
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials

同步器特定选项

警告
本文介绍的功能在 Community SDK 版本中不可用。
您应该升级到 Sim SDK版本才能使用它。

There are 2 types of Syncker-specific options:有 2 种类型的 Syncker 特定选项:

  • Command-line options used to specify screen configuration, addressing mode, multicast address of the Master computer, or a port to be used on the application start-up. These options have the same syntax as the other start-up command-line options.用于指定屏幕配置、寻址模式、Master 计算机的多播地址或要在应用程序启动时使用的端口的命令行选项。这些选项的语法与其他选项相同启动命令行选项.
  • Console options that can be run from the application console on the Master or Slave sides.可以从 MasterSlave 端的应用程序控制台运行的控制台选项。

Command-Line Options命令行选项#

Common Options常见选项#

The following command-line options can be run on Master or Slave application start-up:以下命令行选项可以在 MasterSlave 应用程序启动时运行:

名称 描述 争论 默认值
sync_view_config

Specifies a screen/projection configuration to be used. This configuration represents a configuration of monitors, onto which the application is rendered, or projectors that project the application onto projection screens (1 unit = 1 meter). Projection and modelview matrices are automatically calculated on the basis of the camera position and Slave name. When no configuration file is specified, all Slave apps clone Master's display.指定一个屏幕/投影配置要使用的。此配置表示在其上呈现应用程序的监视器或将应用程序投影到投影屏幕(1 单位 = 1 米)的投影仪的配置。投影和模型视图矩阵是根据相机位置和 Slave 名称自动计算的。当未指定配置文件时,所有 Slave 应用程序都会克隆 Master 的显示。

注意
Check the full list of configuration requirements here.检查配置要求的完整列表这里.
命令行
-sync_view_config "my_project/my_config.sync"
A path to the .sync file..sync 文件的路径。 syncker.cfg
sync_master

Sets the flag indicating whether the computer is Master.设置指示计算机是否为 Master 的标志。

命令行
-sync_master 1
Master flag.Master 标志。 1 1
sync_method

Sets the addressing mode to be used by Syncker. One of the following: unicast, multicast, broadcast.设置 Syncker 使用的寻址模式。以下之一:unicast, multicast, broadcast

命令行
-sync_method broadcast
Addressing mode.寻址模式。 unicast unicast
sync_multicast_address

Sets a multicast address that is used by the Master computer to send messages to Slave over the network.设置 multicast 地址,Master 计算机使用该地址通过网络向 Slave 发送消息。

命令行
-sync_multicast_address "xxx.xxx.xxx.xxx"
A multicast address in the xxx.xxx.xxx.xxx format.xxx.xxx.xxx.xxx 格式的 multicast 地址。 239.0.0.1239.0.0.1
sync_port

Sets the UDP port to be used to send and receive messages for the Syncker.设置用于发送和接收 Syncker 消息的 UDP 端口。

命令行
-sync_port 8890
UDP port number.UDP 端口号。 8890 8890
sync_swap

Sets the buffer swapping method to be used by Syncker. One of the following: default, NVIDIA (available only for NVIDIA Quadro GPUs with G-SYNC support).设置 Syncker 使用的缓冲区交换方法。以下选项之一:默认、NVIDIA(仅适用于支持 G-SYNC 的 NVIDIA Quadro GPU)。

命令行
-sync_swap nvidia
Buffer swap synchronization mode.缓冲区交换同步模式。 default default
sync_swap_nvidia_group

Sets NVIDIA's swap group.设置 NVIDIA 的交换组。

命令行
-sync_swap_nvidia_group 1
NVIDIA's swap group.NVIDIA 的交换小组。 1 1
sync_swap_nvidia_barrier

Sets NVIDIA's swap barrier.设置 NVIDIA 的交换障碍。

命令行
-sync_swap_nvidia_barrier 1
NVIDIA's swap barrier.NVIDIA 的交换障碍。 1 1
sync_view

Sets the view (display or projector stored in the configuration file) to be used. This option is equivalent to sync_view_0.设置视图(显示或投影仪存储在配置文件) 要使用的。此选项等效于 sync_view_0

命令行
-sync_view display_name
Name of the display/projector stored in the .sync configuration file.存储在 .sync 配置文件中的显示器/投影仪的名称。
sync_view_0

Sets the view (display or projector stored in the configuration file) to be used for the 1st monitor/projector of the computer.设置视图(显示或投影仪存储在配置文件)将被用于在计算机第1个监视器/投影机。

命令行
-sync_view_0 display_name
Name of the display/projector stored in the .sync configuration file.存储在 .sync 配置文件中的显示器/投影仪的名称。
sync_view_1

Sets the view (display or projector stored in the configuration file) to be used for the 2nd monitor/projector of the computer.设置视图(显示或投影仪存储在配置文件) 用于计算机的第二台显示器/投影仪。

注意
To be specified when a multi-monitor configuration is used.指定时多显示器配置用来。
命令行
-sync_view_1 display_name
Name of the display/projector stored in the .sync configuration file.存储在 .sync 配置文件中的显示器/投影仪的名称。
sync_view_2

Sets the view (display or projector stored in the configuration file) to be used for the 3rd monitor/projector of the computer.设置视图(显示或投影仪存储在配置文件) 用于计算机的第三台显示器/投影仪。

注意
To be specified when a multi-monitor configuration is used.指定时多显示器配置用来。
命令行
-sync_view_2 display_name
Name of the display/projector stored in the .sync configuration file.存储在 .sync 配置文件中的显示器/投影仪的名称。
sync_view_3

Sets the view (display or projector stored in the configuration file) to be used for the 4th monitor/projector of the computer.设置视图(显示或投影仪存储在配置文件)将被用于在计算机的4监视器/投影机。

注意
To be specified when a multi-monitor configuration is used.指定时多显示器配置用来。
命令行
-sync_view_3 display_name
Name of the display/projector stored in the .sync configuration file.存储在 .sync 配置文件中的显示器/投影仪的名称。
sync_view_4

Sets the view (display or projector stored in the configuration file) to be used for the 5th monitor/projector of the computer.设置视图(显示或投影仪存储在配置文件)将被用于在计算机的5监视器/投影机。

注意
To be specified when a multi-monitor configuration is used.指定时多显示器配置用来。
命令行
-sync_view_4 display_name
Name of the display/projector stored in the .sync configuration file.存储在 .sync 配置文件中的显示器/投影仪的名称。
sync_view_5

Sets the view (display or projector stored in the configuration file) to be used for the 6th monitor/projector of the computer.设置视图(显示或投影仪存储在配置文件)将被用于在计算机的6监视器/投影机。

注意
To be specified when a multi-monitor configuration is used.指定时多显示器配置用来。
命令行
-sync_view_5 display_name
Name of the display/projector stored in the .sync configuration file.存储在 .sync 配置文件中的显示器/投影仪的名称。

Master Options主选项#

The following command-line options can be run on the Master application start-up:可以在 Master 应用程序启动时运行以下命令行选项:

名称 描述 争论 默认值
sync_count

Sets a number of Syncker hosts (including Master itself) in the network.在网络中设置多个 Syncker 主机(包括 Master 本身)。

命令行
-sync_count 3
Number of hosts.主机数。 11
sync_broadcast_address

Sets a broadcast address of the Master computer that is used to broadcast messages to Slave over the network. If the key is not specified, Syncker shall try to determine the value automatically.设置用于通过网络向 Slave 广播消息的 Master 计算机的广播地址。如果未指定密钥,Syncker 将尝试自动确定该值。

命令行
-sync_broadcast_address "xxx.xxx.xxx.xxx"
A broadcast address in the xxx.xxx.xxx.xxx format.xxx.xxx.xxx.xxx 格式的广播地址。
sync_allow_extra_slaves

Sets the flag indicating whether additional Slave PCs can be connected after starting the session.设置指示在启动会话后是否可以连接其他 Slave PC 的标志。

命令行
-sync_allow_extra_slaves 1
Extra Slave flag.额外的 Slave 标志。 00

Slave Options从选项#

The following command-line options can be run on the Slave application start-up:可以在 Slave 应用程序启动时运行以下命令行选项:

名称 描述 争论 默认值
sync_slave_port

Sets a UDP port to be used by Slave. 0 — means any unused port available.设置 Slave 使用的 UDP 端口。 0 — 表示任何未使用的可用端口。

命令行
-sync_slave_port 0
UDP port number.UDP 端口号。 0 0
sync_master_address

Sets the address of the Master computer. If the key is not specified, Syncker shall try to determine the value automatically.设置 Master 计算机的地址。如果未指定密钥,则 Syncker 将尝试自动确定该值。

命令行
-sync_master_address "xxx.xxx.xxx.xxx"
Master's address in the xxx.xxx.xxx.xxx format.xxx.xxx.xxx.xxx 格式的 Master 的地址。

Console Commands控制台命令#

The following console commands can be run on a Master or Slave computer.以下控制台命令可以在 MasterSlave 计算机上运行。

名称 描述 争论
sync
  • Command. Runs the specified console command on Master and all Slave PCs.命令。Master 和所有 Slave PC 上运行指定的控制台命令。

    源代码
    sync show_profiler 3 
    //shows the profiler on all computers
A console command to run.要运行的控制台命令。
syncker_interpolation

0 — disabled0 — 禁用

1 — enabled (by default)1 — 启用(默认)

syncker_interpolation_period
  • Variable. Prints the current interpolation period value for the computer, in seconds.多变的。打印当前插值计算机的周期值,以秒为单位。
  • Command. Sets the interpolation period for the computer.命令。设置计算机的插值周期。

    源代码
    syncker_interpolation_period 0.04

Interpolation period, in seconds插值周期,以秒为单位

(0.04 — by default)(0.04 — 默认)

syncker_extrapolation_period
  • Variable. Prints the current extrapolation period value for the computer, in seconds.多变的。打印当前外推法计算机的周期值,以秒为单位。
  • Command. Sets the extrapolation period for the computer.命令。设置计算机的外推周期。

    源代码
    syncker_extrapolation_period 0.2

Extrapolation period, in seconds外推周期,以秒为单位

(0.2 — by default)(0.2 — 默认)

syncker_setup
  • Variable. Prints the value indicating if screen/ projection setup mode is active.多变的。打印指示屏幕/投影设置模式是否处于活动状态的值。
  • Command. Enables or disables screen/ projection setup mode.命令。启用或禁用屏幕/投影设置模式。

    源代码
    syncker_setup 1

0 — return to standard mode.0 — 返回标准模式。

1 — enter the screen/ projection setup mode.1 — 进入屏幕/投影设置模式。

syncker_debug

0 — hide the debug window.0 — 隐藏调试窗口。

1 — show the debug window.1 — 显示调试窗口。

最新更新: 2021-09-17
Build: ()