Wwise SDK 2022.1.17
|
Sent at the end of an import operation.
Name | Type | Description |
---|---|---|
return | array | Data to be returned for every imported object. The array of return expressions defines which elements of the Wwise object is returned. This can include built-in accessors, such as the name or id, or object properties, such as the Volume or the Pitch. |
return [...] | any of: | A return expression. |
string | Specifies one or many of the built-in accessors for Wwise objects. Possible values:
| |
string | Specifies one or many dot-separated accessors that form a query and yields a value or an object reference. Specifying a single @ returns the value of the property for the associated object. Specifying a double @ returns the value of the property for the source of override. Refer to Wwise Objects Reference . |
Name | Type | Description |
---|---|---|
objects * | array | The list of objects that have been created as part of the same import operation. |
objects [...] | object | Object created during the import operation. Default return is id and name. A Wwise object. Use the return options to specify which property is required. |
objects[...].id | string | The ID (GUID) of the object. An object GUID of the form: {aabbcc00-1122-3344-5566-77889900aabb}. |
objects[...].name | string | The name of the object. |
objects[...].notes | string | The notes of the object. |
objects[...].type | string | The type of the object. Refer to Wwise Objects Reference for more information on the types available. |
objects[...].pluginName | string | The name of the plug-in for Source, Effect, Mixer, Device and Metadata plug-in. |
objects[...].path | string | The path of the object from the project root. Ex: '\Actor-Mixer Hierarchy\Default Work Unit\Sound1' |
objects[...].parent | object | The parent of the object in the hierarchy. |
objects[...].parent.id | string | The ID (GUID) of the object. An object GUID of the form: {aabbcc00-1122-3344-5566-77889900aabb}. |
objects[...].parent.name | string | The name of the object. |
objects[...].owner | object | The owner of the object. This applies to objects being locally owned by other objects, such as custom effects, custom attenuations, etc. |
objects[...].owner.id | string | The ID (GUID) of the object. An object GUID of the form: {aabbcc00-1122-3344-5566-77889900aabb}. |
objects[...].owner.name | string | The name of the object. |
objects[...].isPlayable | boolean | True if the object can be played in Transport. |
objects[...].shortId | integer | The Short ID of the object. |
objects[...].classId | integer | The class ID of the object. Unsigned Integer 32-bit. Range: [0,4294967295] |
objects[...].category | string | The category of the object. Ex: 'Actor-Mixer Hierarchy' |
objects[...].filePath | string | The path to the file containing the object. The path can be a Work Unit file or a project file. For using WAAPI on Mac, please refer to Using WAAPI on Mac . |
objects[...].workunit | object | The parent Work Unit containing the object. The 'id' and the 'name' is returned. |
objects[...].workunit.id | string | The ID (GUID) of the object. An object GUID of the form: {aabbcc00-1122-3344-5566-77889900aabb}. |
objects[...].workunit.name | string | The name of the object. |
objects[...].childrenCount | number | The number of children for the object. |
objects[...].totalSize | integer | The amount of space (in bytes) this object and all of its children take up in a SoundBank. This does not include the objectSize. Note that SoundBanks need to be generated for this value to be accurate. |
objects[...].mediaSize | integer | The total converted size (in bytes) of the media files of this object and all of its children. Note that SoundBanks need to be generated for this value to be accurate. |
objects[...].objectSize | integer | The amount of space (in bytes) the meta-data of the object takes up in a SoundBank. This does not include media files. Note that SoundBanks need to be generated for this value to be accurate. |
objects[...].structureSize | integer | The amount of space (in bytes) the meta-data of the object and all of its children take up in a SoundBank. This does not include media files. Note that SoundBanks need to be generated for this value to be accurate. |
objects[...].musicTransitionRoot | object | The music transition root containing all other music transitions recursively. |
objects[...].musicTransitionRoot.id | string | The ID (GUID) of the object. An object GUID of the form: {aabbcc00-1122-3344-5566-77889900aabb}. |
objects[...].musicPlaylistRoot | object | The music playlist root containing all other music playlist items recursively. This applies to Music Playlist Containers only. |
objects[...].musicPlaylistRoot.id | string | The ID (GUID) of the object. An object GUID of the form: {aabbcc00-1122-3344-5566-77889900aabb}. |
objects[...].originalWavFilePath | string | (DEPRECATED) Absolute path to the original wav file. Only valid for Sound and Audio Source objects. For using WAAPI on Mac, please refer to Using WAAPI on Mac . |
objects[...].originalFilePath | string | Absolute path to the original file. Only valid for Sound and Audio Source objects. For using WAAPI on Mac, please refer to Using WAAPI on Mac . |
objects[...].activeSource | object | The active source of the sound object. |
objects[...].activeSource.id | string | The ID (GUID) of the object. An object GUID of the form: {aabbcc00-1122-3344-5566-77889900aabb}. |
objects[...].activeSource.name | string | The name of the object. |
objects[...].convertedWemFilePath | string | (DEPRECATED) Absolute path to the converted wem file. Specify the platform in the options. Only valid for Sound and Audio Source objects. To use WAAPI on Mac, please refer to Using WAAPI on Mac . |
objects[...].convertedFilePath | string | Absolute path to the converted file. Specify the platform in the options. Only valid for Sound and Audio Source objects. To use WAAPI on Mac, please refer to Using WAAPI on Mac . |
objects[...].soundbankBnkFilePath | string | Absolute path to the generated SoundBank file associated with the SoundBank object. Only valid for SoundBank objects. To use WAAPI on Mac, please refer to Using WAAPI on Mac . |
objects[...].playbackDuration | object | The duration root that contains the min and max durations and duration type. Note, this is deprecated. The duration should be used instead. This applies to all objects that can contain Audio Source objects, either directly as a source or indirectly through descendants. |
objects[...].playbackDuration.playbackDurationMin | number | The minimum possible time playback can take. |
objects[...].playbackDuration.playbackDurationMax | number | The maximum possible time playback can take. |
objects[...].playbackDuration.playbackDurationType | string | The type of duration. |
objects[...].duration | object | The duration root that contains the min and max durations and duration type. This applies to all objects that can contain Audio Source objects, either directly as a source or indirectly through descendants. |
objects[...].duration.min | number | The minimum possible time playback can take. |
objects[...].duration.max | number | The maximum possible time playback can take. |
objects[...].duration.type | string | The type of duration. |
objects[...].maxDurationSource | object | Audio source with the longest duration. This applies to all objects that can contain Audio Source objects, either directly as a source or indirectly through descendants. |
objects[...].maxDurationSource.id | string | The ID (GUID) of the audio source object with the longest duration. An object GUID of the form: {aabbcc00-1122-3344-5566-77889900aabb}. |
objects[...].maxDurationSource.trimmedDuration | number | The duration in seconds of the longest trimmed source. |
objects[...].audioSourceTrimValues | object | Range of time for which the audio source is trimmed. |
objects[...].audioSourceTrimValues.trimBegin | number | The time value in seconds of the start trim. |
objects[...].audioSourceTrimValues.trimEnd | number | The time value in seconds of the end trim. |
objects[...].maxRadiusAttenuation | object | Attenuation with the largest radius. This applies to all objects that can contain Audio Source objects, either directly as a source or indirectly through descendants. |
objects[...].maxRadiusAttenuation.id | string | The ID (GUID) of the attenuation object with the largest radius. An object GUID of the form: {aabbcc00-1122-3344-5566-77889900aabb}. |
objects[...].maxRadiusAttenuation.radius | number | The radius of the attenuation object. |
objects[...].audioSourceLanguage | object | Language associated to the audio source. This only applies to Audio Source objects directly. |
objects[...].audioSourceLanguage.id | string | The ID (GUID) of the Language object to which the Audio Source object is associated. An object GUID of the form: {aabbcc00-1122-3344-5566-77889900aabb}. |
objects[...].audioSourceLanguage.name | string | The name of the Language object to which the Audio Source object is associated. |
objects[...].workunitIsDefault | boolean | True if the work unit is the default. |
objects[...].workunitType | string | The type of the Work Unit. Please note that, like Work Units, physical folders have the type "WorkUnit". Physical folders have the workunitType "folder". Possible values:
|
objects[...].workunitIsDirty | boolean | True if a Work Unit or a Project (wproj file) is dirty, meaning it was modified but not saved. |
objects[...].switchContainerChildContext | object | The context object associated with the child of a Switch Container. This object holds the properties associated with the child that are context-dependent for the Switch Container (for example: the properties of the '1st only' checkbox). |
objects[...].switchContainerChildContext.id | string | The ID (GUID) of the object. An object GUID of the form: {aabbcc00-1122-3344-5566-77889900aabb}. |
objects[...].isExplicitMute | boolean | Whether or not the object has been muted explicitly. Explicitly muting an object implicitly mutes the descendant objects. |
objects[...].isExplicitSolo | boolean | Whether or not the object has been soloed explicitly. Soloing an object silences all the other objects in the project except this one. |
objects[...].isImplicitMute | boolean | Whether or not the object has been muted implicitly. Explicitly muting an object implicitly mutes the descendant objects. |
objects[...].isImplicitSolo | boolean | Whether or not the object has been soloed implicitly. Soloing an object silences all the other objects in the project except this one. |
objects[...].isIncluded | boolean | Whether or not the object is Included. Specify the platform in the options. This takes into consideration the Inclusion status of the object's ancestors. |
objects[...].points | array | This only applies to Curve objects. An array of points defining a curve. |
objects[...].points [...] | object | A point in the curve. |
objects[...].points[...].x * | number | X coordinate of curve point. |
objects[...].points[...].y * | number | Y coordinate of curve point. |
objects[...].points[...].shape * | string | Shape of the curve segment between this point and the next. Possible values:
|
objects[...].regex(^((@?@?[a-zA-Z0-9:_]+)|[a-zA-Z]+\(.+\))(\.@?@?[a-zA-Z0-9:_]+|[a-zA-Z]+\(.+\))*$) | any of: | Specifies dot-separated accessors that form a query and yields a property value or an object reference. A single @ specifies the value of the property for the associated object. A double @ specifies the value of the property for the source of override. Refer to Wwise Objects Reference for more information on the properties and references for all types available. |
string | A string value. | |
number | A numeric value. | |
boolean | A boolean value. | |
object | An object reference value. | |
array | An object list reference value. | |
objects[...].regex(^((@?@?[a-zA-Z0-9:_]+)|[a-zA-Z]+\(.+\))(\.@?@?[a-zA-Z0-9:_]+|[a-zA-Z]+\(.+\))*$).id | string | The ID (GUID) of the object. An object GUID of the form: {aabbcc00-1122-3344-5566-77889900aabb}. |
objects[...].regex(^((@?@?[a-zA-Z0-9:_]+)|[a-zA-Z]+\(.+\))(\.@?@?[a-zA-Z0-9:_]+|[a-zA-Z]+\(.+\))*$).name | string | The name of the object. |
objects[...].regex(^((@?@?[a-zA-Z0-9:_]+)|[a-zA-Z]+\(.+\))(\.@?@?[a-zA-Z0-9:_]+|[a-zA-Z]+\(.+\))*$) [...] | object | An object reference value. |
objects[...].regex(^((@?@?[a-zA-Z0-9:_]+)|[a-zA-Z]+\(.+\))(\.@?@?[a-zA-Z0-9:_]+|[a-zA-Z]+\(.+\))*$)[...].id | string | The ID (GUID) of the object. An object GUID of the form: {aabbcc00-1122-3344-5566-77889900aabb}. |
objects[...].regex(^((@?@?[a-zA-Z0-9:_]+)|[a-zA-Z]+\(.+\))(\.@?@?[a-zA-Z0-9:_]+|[a-zA-Z]+\(.+\))*$)[...].name | string | The name of the object. |
(Required *)
Refer to Using the Wwise Authoring API (WAAPI) for more information about Wwise Authoring API.
Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !
Visitez notre page d'AideEnregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !
Partir du bon pied avec Wwise