版本
menu_open
警告:系统已根据您所用大版本 (2023.1.4.8496) 自动跳转至最新文档。若想访问特定版本的文档,请从 Audiokinetic Launcher 下载离线文档,并在 Wwise 设计程序中勾选 Offline Documentation 选项。

Enhancing playback by randomizing property values

During gameplay, the same sound is often played more than once. To prevent repetition of the sound at each occurrence, you can use Randomizers to modify the sound each time it is played.

Enabling Randomizers and setting their properties

You can apply a Randomizer to any property that has a Randomizer icon.

图标

Status

描述

Randomizer 已启用

随机化器效果已应用到的属性值。

Randomizer 已禁用

尚未应用随机化器效果的属性值。

随机化器 Mixed

Multi Editor 中只有部分对象为该属性值启用了 Randomizer 效果。Property Editor 或 Contents Editor 中不会看到这个标识。

To edit the properties of a Randomizer:

  1. 双击属性的 Randomizer 图标。

  2. In the Randomizer view that opens, set the properties according to the following table.

You can also enable or disable a Randomizer by right-clicking a property's Randomizer icon, and selecting Enable Randomizer or Disable Randomizer.

To edit the properties of a Randomizer for several objects at the same time, select several objects in the Project Explorer, right-click the selection, and select Show in Multi Editor.

Randomizer view

界面元素

描述

Enabled

决定 Randomizer 是否作用于对象属性值。如勾选,则应用 Randomizer。如果未勾选,则 Randomizer 不会作用于对象属性值。

Default value: false

Min Offset

用于设置属性的最小可能偏置值。

Default value: 0

Max Offset

用于设置属性的最大可能偏置值。

Default value: 0

The Randomizer view title bar displays the name of the selected Wwise object, or the number of objects selected if more than one, and the selected property.

Like the “Multi Editor”一节, an open Randomizer view reloads objects according to the UI focus. The initially loaded property persists until it is explicitly changed. Objects without the currently loaded property do not open in the Randomizer view.

Understanding Randomizer properties

用户有必要了解 Randomizer 会如何应用于属性值。在播放声音对象时,对于每项支持 Randomizer 的属性:

  1. 声音对象及其所有上级对象的 Randomizer(如启用)都会生成一个随机值。

  2. The sum of the Randomizer values is added to the final property value. 最终属性值包含:

    • 对象属性值。

    • 属性上的 RTPC。

    • 属性上的 State。

The final Randomizer value is added to the final property value regardless of how the final property value is calculated. For the Volume and Pitch properties, the property values are always calculated by addition of the many sources. 对于 Low-pass filter 和 High-pass filter 属性,则取决于所配置的 Filter Behavior。See:

The following illustration demonstrates the calculation of the final Randomzier value for the Voice object's Volume property. 每个对象的 Volume 属性都启用了 Randomizer。最终 Randomizer 值 Rand 为 x、y 和 z 的总和。该值将添加到 Voice 对象的最终 Volume 属性。


此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅