This page has been translated automatically.
视频教程
界面
要领
高级
实用建议
基础
专业(SIM)
UnigineEditor
界面概述
资源工作流程
Version Control
设置和首选项
项目开发
调整节点参数
Setting Up Materials
设置属性
照明
Sandworm
使用编辑器工具执行特定任务
如何擴展編輯器功能
嵌入式节点类型
Nodes
Objects
Effects
Decals
光源
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
编程
基本原理
搭建开发环境
使用范例
C++
C#
UnigineScript
统一的Unigine着色器语言 UUSL (Unified UNIGINE Shader Language)
Plugins
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

VR 控制台命令和变量

After VR initialization, a set of VR-related console commands will become available.VR初始化后,一组与VR相关的控制台命令将可用。

Common VR Settings
常见 VR 设置#

vr_info
描述:
  • Command. Prints the information on the current VR API and the connected VR devices — HMD, controllers, and others. For the controllers, it also displays the battery level (if available).命令。打印当前VR API和连接的VR设备:头戴式显示器,控制器和其他设备的信息。对于控制器,它还显示电池电量(如果可用)。
vr_reset_zero_pose
描述:
  • Command. Sets the zero pose to the current tracker position.命令。将零姿态设置为当前跟踪器位置。
vr_render_enabled配置文件: *.boot
描述:
  • 变量。   打印一个值,该值指示是否启用了以下命令控制的选项。
  • 命令。   打开和关闭value indicating if rendering into the head-mounted display is enabled.
参数:
0 - 关 (默认)
1 -
vr_peripheral_rendering_mode_enabled配置文件: *.boot
描述:
  • 变量。   打印一个值,该值指示是否启用了以下命令控制的选项。
  • 命令。   打开和关闭value indicating if the peripheral rendering mode is enabled. In this mode, the HMD has two context (peripheral) and two focus displays. You can disable two additional viewports to improve peformance.
    注意
    This feature is available for the Varjo devices only.
参数:
0 - 关 (默认)
1 -
vr_service_init_timeout配置文件: *.boot
描述:
  • 变量。   打印当前值VR initialization timeout in number of attempts. The engine attempts to run VR Service and has to wait for its initialization.虚拟现实初始化超时次数。引擎试图运行VR服务,必须等待其初始化。
  • 命令。   设置 VR initialization timeout in number of attempts. The engine attempts to run VR Service and has to wait for its initialization.虚拟现实初始化超时次数。引擎试图运行VR服务,必须等待其初始化。
参数:
[0; 200] - 可用范围
60 - 默认
vr_mirror_mode配置文件: *.boot
描述:
  • 变量。   打印当前值mirror mode that defines how the mirrored image (i.e. VR image) will be displayed in the target window.
  • 命令。   设置 mirror mode that defines how the mirrored image (i.e. VR image) will be displayed in the target window.
参数:
0 - black screen (no image is displayed).
1 - image rendered for the left eye.
2 - image rendered for the right eye.
3 - stereo image (both the left and right eyes). (默认)
vr_window_mode配置文件: *.boot
描述:
  • 变量。   打印当前值window mode that defines which window will display the mirrored image (i.e. VR image).
  • 命令。   设置 window mode that defines which window will display the mirrored image (i.e. VR image).
参数:
0 - mirroring is disabled.
1 - main window displays the mirrored image. (默认)
vr_tracking_space配置文件: *.boot
描述:
  • 变量。   打印当前值zero pose of the tracking origin.
  • 命令。   设置 zero pose of the tracking origin.
参数:
0 - seated.
1 - standing. (默认)
2 - raw (uncalibrated).
vr_head_tracking_position_enabled配置文件: *.boot
描述:
  • 变量。   打印一个值,该值指示是否启用了以下命令控制的选项。
  • 命令。   Toggles the value indicating if the head position is locked.切换指示头部位置是否锁定的值。
参数:
0 -
1 - 开 (默认)
vr_head_tracking_rotation_enabled配置文件: *.boot
描述:
  • 变量。   打印一个值,该值指示是否启用了以下命令控制的选项。
  • 命令。   Toggles the value indicating if the head rotation is locked.切换指示头部旋转是否被锁定的值。
参数:
0 -
1 - 开 (默认)
vr_motion_prediction配置文件: *.boot
描述:
  • 变量。   打印一个值,该值指示是否启用了以下命令控制的选项。
  • 命令。   打开和关闭value indicating if motion prediction in the Varjo headsets is enabled. When enabled, the engine submits the velocity value from the GBuffer to the Varjo Composer.
参数:
0 - 关 (默认)
1 -
vr_motion_prediction_velocity_precision配置文件: *.boot
描述:
  • 变量。   打印当前值factor of velocity scale before packing a floating point value into a 2x8 bit unsigned integer (uint).
    注意
    This feature is available for the Varjo devices only.
  • 命令。   设置 factor of velocity scale before packing a floating point value into a 2x8 bit unsigned integer (uint).
    注意
    This feature is available for the Varjo devices only.
参数:
[eps; inf] - 可用范围
32.0f - 默认
vr_motion_prediction_velocity_time_delta配置文件: *.boot
描述:
  • 变量。   打印当前值factor for optimizing between fast and slow-moving objects. A smaller number works better for fast-moving objects, and vice versa.
    注意
    This feature is available for the Varjo devices only.
  • 命令。   设置 factor for optimizing between fast and slow-moving objects. A smaller number works better for fast-moving objects, and vice versa.
    注意
    This feature is available for the Varjo devices only.
参数:
[eps; inf] - 可用范围
1.0f / 60.0f - 默认
vr_foveated_rendering_enabled配置文件: *.boot
描述:
  • 变量。   打印一个值,该值指示是否启用了以下命令控制的选项。
  • 命令。   打开和关闭VR initialization timeout in number of attempts. The engine attempts to run VR Service and has to wait for its initialization.value indicating if foveated rendering is enabled. Foveated rendering makes use of the eye tracking functionality in the Varjo headsets to improve performance by reducing the image quality in peripheral areas where the user is not looking. Foveation allows applications to render fewer pixels and achieve a better VR experience.
    注意
    This feature is available for the Varjo devices only.
参数:
0 -
1 - 开 (默认)

Mixed Reality Settings
混合现实(MR)参数#

vr_mixed_reality_chroma_key_enabled
描述:
  • 变量。   打印一个值,该值指示是否启用了以下命令控制的选项。
  • 命令。   打开和关闭value indicating if chroma keying is enabled. VST capturing from HMD cameras must be enabled.
参数:
0 - 关 (默认)
1 -
vr_mixed_reality_depth_test_enabled
描述:
  • 变量。   打印一个值,该值指示是否启用了以下命令控制的选项。
  • 命令。   打开和关闭value indicating if depth buffer submission is enabled. VST capturing from HMD cameras must be enabled.
参数:
0 - 关 (默认)
1 -
vr_mixed_reality_alpha_blend_enabled
描述:
  • 变量。   打印一个值,该值指示是否启用了以下命令控制的选项。
  • 命令。   打开和关闭value indicating if alpha blending is enabled. This option is used for blending VR and AR images using the alpha channel. VST capturing from HMD cameras must be enabled and the screen precision must be 1.
参数:
0 - 关 (默认)
1 -
vr_mixed_reality_video_enabled
描述:
  • 变量。   打印一个值,该值指示是否启用了以下命令控制的选项。
  • 命令。   打开和关闭value indicating if the video signal from the real-world view from the front-facing HMD-mounted cameras is enabled. The real-world view is used for combining virtual and real-world elements to create an immersive experience in mixed reality.
参数:
0 - 关 (默认)
1 -
vr_mixed_reality_depth_test_range_enabled
描述:
  • 变量。   打印一个值,该值指示是否启用了以下命令控制的选项。
  • 命令。   打开和关闭value indicating if the depth test range usage is enabled. Use the depth test range (Depth Test Near Z, Depth Test Far Z) to control the range for which the depth test is evaluated.
参数:
0 - 关 (默认)
1 -
vr_mixed_reality_depth_test_range
描述:
  • 变量。   打印当前值depth test range as a two-component vector (the near and far planes). The depth test range usage must be enabled.
  • 命令。   设置 depth test range as a two-component vector (the near and far planes). The depth test range usage must be enabled.
参数:
vec2(0.0f, 1.0f) - default value
vr_mixed_reality_camera_exposure_time
描述:
exposure time value that is valid for the connected device.
vr_mixed_reality_camera_exposure_time_mode
描述:
  • 变量。   打印当前值VR initialization timeout in number of attempts. The engine attempts to run VR Service and has to wait for its initialization.exposure adjustment mode for the camera.
  • 命令。   设置 VR initialization timeout in number of attempts. The engine attempts to run VR Service and has to wait for its initialization.exposure adjustment mode for the camera.
参数:
0 - exposure adjustment is disabled
1 - automatic exposure adjustment (默认)
2 - manual exposure adjustment
vr_mixed_reality_camera_white_balance
描述:
white balance correction value that is valid for the connected device.
vr_mixed_reality_camera_white_balance_mode
描述:
  • 变量。   打印当前值white balance adjustment mode for the camera.
  • 命令。   设置 white balance adjustment mode for the camera.
参数:
0 - white balance adjustment is disabled
1 - automatic white balance adjustment (默认)
2 - manual white balance adjustment
vr_mixed_reality_camera_iso
描述:
ISO value for the camera.
vr_mixed_reality_camera_iso_mode
描述:
  • 变量。   打印当前值ISO adjustment mode for the camera.
  • 命令。   设置 ISO adjustment mode for the camera.
参数:
0 - ISO adjustment is disabled
1 - automatic ISO adjustment (默认)
2 - manual ISO adjustment
vr_mixed_reality_camera_flicker_compensation
描述:
flicker compensation value for the camera. This is useful when using the HMD indoors with mostly artificial light bulbs, which flicker at the frequency of 50Hz or 60Hz and can cause visual flicker artifacts on the video see through image. The correct setting depends on the underlying power grid's frequency. For example, in most parts of Africa/Asia/Australia/Europe the frequency is 50 Hz and in most parts of North and South America 60 Hz.
vr_mixed_reality_camera_sharpness
描述:
  • 变量。   打印当前值sharpness filter power value for the camera.
  • 命令。   设置 sharpness filter power value for the camera.
参数:
[0; 10] - 可用范围
0 - 默认
vr_mixed_reality_view_offset
描述:
  • 变量。   打印当前值eyes view offset (where eye camera should be positioned when using Mixed Reality):
    • 0 for physical eye position
    • 1 for VST camera position
  • 命令。   设置 eyes view offset (where eye camera should be positioned when using Mixed Reality):
    • 0 for physical eye position
    • 1 for VST camera position
参数:
[0.0; 1.0] - 可用范围
0.0 - 默认
vr_mixed_reality_marker_tracking_enabled
描述:
  • 变量。   打印一个值,该值指示是否启用了以下命令控制的选项。
  • 命令。   打开和关闭value indicating if marker tracking is enabled.
参数:
0 - 关 (默认)
1 -
vr_mixed_reality_marker_visualizer_enabled配置文件: *.boot
描述:
  • 变量。   打印一个值,该值指示是否启用了以下命令控制的选项。
  • 命令。   Toggles the value indicating the marker visualizer is enabled.切换指示启用标记可视化工具的值。
参数:
0 - 关 (默认)
1 -
vr_mixed_reality_blend_masking_mode
描述:
  • 变量。   打印当前值mode of the Blend Control Mask that can be used to extend or restrict the chroma key mask or to control the depth testing against the estimated video depth.
  • 命令。   设置 mode of the Blend Control Mask that can be used to extend or restrict the chroma key mask or to control the depth testing against the estimated video depth.
参数:
0 - Disabled (masking mode is disabled). (默认)
1 - Restrict Video to Mask (show the video pass-through image (VST) in the mask; can be used with chroma key)
2 - Restrict VR to Mask (show VR in the mask; can be used with chroma key)
3 - Restrict VR to Chromakey reduced by Mask (show VR in the mask and chroma elsewhere; requires chroma key)
vr_mixed_reality_blend_masking_debug_enabled
描述:
  • 变量。   打印一个值,该值指示是否启用了以下命令控制的选项。
  • 命令。   打开和关闭value indicating if blend masking debug visualization is enabled. The blend masking mode must be enabled.
参数:
0 - 关 (默认)
1 -
vr_mixed_reality_cubemap_mode
描述:
  • 变量。   打印当前值mode defining the way the AR texture is set for the environment.
  • 命令。   设置 mode defining the way the AR texture is set for the environment.
参数:
0 - cubemap streaming from AR cameras is disabled.
1 - environment texture substitutes the sky.
2 - the first environment preset defines the way the AR texture is set for the environment. (默认)
3 - the second environment preset defines the way the AR texture is set for the environment.
4 - the third environment preset defines the way the AR texture is set for the environment.
vr_mixed_reality_cubemap_ggx_quality
描述:
  • 变量。   打印当前值quality of the generated GGX mips for the AR cubemap.
  • 命令。   设置 quality of the generated GGX mips for the AR cubemap.
参数:
0 - low
1 - medium (默认)
2 - high
3 - ultra
vr_mixed_reality_override_color_correction_mode
描述:
  • 变量。   打印当前值color correction mode for the stream from the AR cameras.
  • 命令。   设置 color correction mode for the stream from the AR cameras.
参数:
0 - correction is disabled. (默认)
1 - exposure correction for the stream from the AR cameras.
2 - exposure and white balance correction for the stream.
最新更新: 2024-08-16
Build: ()