版本

menu_open
Wwise SDK 2019.2.15
ak.wwise.core.transport.create

Creates a transport object for the given Wwise object. The return transport object can be used to play, stop, pause and resume the Wwise object via the other transport functions.

Arguments

Name Type Description
object * any of: The ID (GUID), name, or path of the object to control via the transport object.
string The name of the object qualified by its type in the form of type:name. Only object types that have globally-unique names are supported. Ex: Event:Play_Sound_01
string An object GUID of the form: {aabbcc00-1122-3344-5566-77889900aabb}.
string A project path to a Wwise object, including the category and the work-unit. For example: \Actor-Mixer Hierarchy\Default Work Unit\New Sound SFX.
gameObject integer The game object to use for playback.
A game object ID, unsigned integer 64-bit.
Range: [0,18446744073709551615]

(Required *)

Arguments Schema

Result

Name Type Description
transport integer Transport object ID to be used with all other ak.wwise.core.transport functions.
Unsigned Integer 32-bit.
Range: [0,4294967295]

Result Schema

See Also

Examples

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


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅