Wwise SDK 2018.1.11
|
Creates an object of type 'type', as a child of 'parent'. Refer to Importing Audio Files and Creating Structures for more information about creating objects. Also refer to ak.wwise.core.audio.import to import audio files to Wwise.
Graphical User Interface, Command-Line Interface.
Name | Type | Description |
---|---|---|
parent * | The ID (GUID), name, or path of the parent of the new object. | |
type * | string | The type of the new object. Refer to Wwise Objects Reference for possible object types. |
name * | string | The name of the new object. |
onNameConflict | string | The action to take if "parent" already has a child with the same name. Default value is "fail". Refer to Understanding the name conflict modes for more information. Possible values : "rename", "replace", "fail", "merge" |
platform | string | The ID (GUID) of the platform used when setting properties via this command. Not specifying a platform sets the value for all linked platforms. |
notes | string | |
autoAddToSourceControl | boolean | Determines if Wwise will automatically perform an Add or Checkout operation on the imported files with the source control. Defaults to false. |
children | array | A list of child objects to be created. |
(Required *)
description : The ID (GUID), name, or path of the parent of the new object.
Possibilities, one of the following :
1) type : string
pattern : ^(StateGroup|SwitchGroup|SoundBank|GameParameter|Event|Effect|AudioDevice|Trigger|Attenuation|DialogueEvent|Bus|AuxBus|Conversion|ModulatorLfo|ModulatorEnvelope|ModulatorTime|Platform|Language|AcousticTexture):[a-zA-Z_]+[a-zA-Z0-9_]*$
description : 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.
2) type : string
pattern : ^\{[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}\}$
3) type : string
pattern : ^\
type : string
description : The type of the new object. Refer to Wwise Objects Reference for possible object types.
type : string
description : The name of the new object.
type : string
description : The action to take if "parent" already has a child with the same name. Default value is "fail". Refer to Understanding the name conflict modes for more information.
Possible values : "rename", "replace", "fail", "merge"
description : The ID (GUID) of the platform used when setting properties via this command. Not specifying a platform sets the value for all linked platforms.
type : string
pattern : ^\{[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}\}$
type : string
type : boolean
description : Determines if Wwise will automatically perform an Add or Checkout operation on the imported files with the source control. Defaults to false.
type : array
description : A list of child objects to be created.
argsSchema / children / ...
type : object
Name | Type | Description |
---|---|---|
type * | string | The type of the new object. Refer to Wwise Objects Reference for possible object types. |
name * | string | The name of the new object. |
notes | string | |
children |
(Required *)
argsSchema / children / items / ...
description : Sets the value of property @propertyName. Refer to Wwise Objects Reference for property names.
Possibilities, one of the following :
1) type : null
2) type : string
3) type : number
4) type : boolean
Name | Type | Description |
---|---|---|
id | string | The ID (GUID) of the newly created Object. |
name | string | The name of the newly created Object. |
children | array |
description : The ID (GUID) of the newly created Object.
type : string
pattern : ^\{[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}\}$
type : string
description : The name of the newly created Object.
type : array
Possible types : or object
resultSchema / children / ...
type : string
pattern : ^\{[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}\}$
resultSchema / children / ...
type : string
resultSchema / children / ...
Reference : : See Arguments "children"
Create a new Sound object called 'Boom' under the specified parent.
Create a new virtual folder called 'Guns' under the default work unit. If a folder with the same name already exists, it will automatically find a unique name.
Create an event called 'Play_SFX' under the virtual folder 'WAAPI', with Play action on the SFX sound object.
Create a Random Container called 'Boom' under the specified parent, with two Sound objects 'A' and 'B'.
Document version : 1
Questions? Problems? Need more info? Contact us, and we can help!
Visit our Support pageRegister your project and we'll help you get started with no strings attached!
Get started with Wwise