Wwise SDK 2024.1.3
|
Sets the Min and Max properties on a Game Parameter. Modifies the RTPC curves and blend tracks that use this Game Parameter for their X axis.
名称 | 类型 | 说明 |
---|---|---|
object * | any of: | The ID (GUID), name, or path of the Game Parameter. |
string | 由类型或 Short ID 限定的对象名称,格式为 type:name 或 Global:shortId。仅支持采用全局唯一名称或 Short Id 的对象类型。例如:Event:Play_Sound_01, Global:245489792 | |
string | 以下形式的对象 GUID:{aabbcc00-1122-3344-5566-77889900aabb}。 | |
string | Wwise 对象的工程路径,包含类别和 Work Unit。例如:\Actor-Mixer Hierarchy\Default Work Unit\New Sound SFX。 | |
min * | number | The minimum value of the Game Parameter. |
max * | number | The maximum value of the Game Parameter. |
onCurveUpdate * | string | Modifying the Min or Max value of a Game Parameter affects the RTPC curves and blend tracks that use that Game Parameter for their X axis. Two actions are possible: stretch: All items are kept but their X positions might change as the curve/blend track is stretched or compressed to match the new range in X. Values of Set Game Parameter actions are also scaled. preserve_x: Maintains the X position of all the items, but those that fall outside the new range are deleted. Values of Set Game Parameter actions are clamped. 可能的值:
|
(必填 *)
有关 Wwise Authoring API 的详细信息,请参阅 使用 Wwise Authoring API(WAAPI) 章节。