版本
menu_open

Blueprint Functions

Several Wwise-specific global functions are exposed to scripting; the following are available in the Audiokinetic category:

Get Ak Component

Obtains an AkComponent that is attached to and follows a specified component. Several methods are available directly on the AkComponent : see AkComponent Blueprint Functions.

Post Event At Location

Posts a Wwise Event at a specified location. This is a fire-and-forget sound, created on a temporary Wwise Game Object with no corresponding AkComponent.

Set RTPC Value

Sets the value of a Game Parameter, optionally targeting the root component of a specified actor.

Set State

Sets the active State for a given State Group.

Spawn Ak Component at Location

Creates a new AkComponent at the specified location. By default, the component will automatically be destroyed once the Event it is playing is done. Parameter Auto Post controls whether to post the event immediately upon the component's creation (Default value is false). Advanced parameter Auto Destroy controls whether to destroy the component when the first Event posted on this component is done (Default value is true).

This Blueprint node is especially useful if you wish to set a Switch on a fire-and-forget sound. This behavior can be accomplished by disabling Auto Post, setting a Switch on the spawned Ak Component, and then posting the Event, like so:

SpawnAkComponent_Switch.png

Stop All

Stops all currently playing sounds.

Other

Other functions are available in sub-categories:

Generated by  doxygen 1.6.3

此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅