版本

menu_open
Wwise SDK 2019.1.11
ak.soundengine.executeActionOnEvent

Execute an action on all nodes that are referenced in the specified event in an action of type play. See AK::SoundEngine::ExecuteActionOnEvent.

Arguments

Name Type Description
gameObject * integer Associated game object ID.
A game object ID, unsigned integer 64-bit.
Range: [0,18446744073709551615]
fadeCurve * integer Use values from AkCurveInterpolation .
Range: [0,9]
actionType * integer Action to execute on all the elements that were played using the specified event. Use values from AK::SoundEngine::AkActionOnEventType.
Range: [0,4]
event * any of: Either the ID (GUID), name or short ID of the event.
string The name of the object.
string An object GUID of the form: {aabbcc00-1122-3344-5566-77889900aabb}.
integer The Short ID of a Wwise Object.
Unsigned Integer 32-bit.
Range: [0,4294967295]
transitionDuration * integer Fade duration (ms).
Integer 32-bit.
Range: [-2147483648,2147483647]

(Required *)

Arguments Schema

See Also

Examples

Refer to 使用 Wwise Authoring API(WAAPI) for more information about WAAPI.


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅