Version

menu_open
Wwise SDK 2019.1.11
ak.soundengine.executeActionOnEvent Arguments Schema

Schema

{
"additionalProperties": false,
"required": [
"event",
"actionType",
"gameObject",
"transitionDuration",
"fadeCurve"
],
"type": "object",
"properties": {
"gameObject": {
"minimum": 0,
"type": "integer",
"description": "Associated game object ID.\\n A game object ID, unsigned integer 64-bit.",
"maximum": 18446744073709551615
},
"fadeCurve": {
"minimum": 0,
"type": "integer",
"maximum": 9,
"description": "Use values from \\ref AkCurveInterpolation ."
},
"actionType": {
"minimum": 0,
"type": "integer",
"maximum": 4,
"description": "Action to execute on all the elements that were played using the specified event. Use values from <tt>AK::SoundEngine::AkActionOnEventType</tt>."
},
"event": {
"anyOf": [
{
"pattern": "^[a-zA-Z_]+[a-zA-Z_0-9]*$",
"type": "string",
"description": "The name of the object."
},
{
"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": "An object GUID of the form: {aabbcc00-1122-3344-5566-77889900aabb}."
},
{
"minimum": 0,
"type": "integer",
"description": "The Short ID of a Wwise Object.\\n Unsigned Integer 32-bit.",
"maximum": 4294967295
}
],
"description": "Either the ID (GUID), name or short ID of the event."
},
"transitionDuration": {
"minimum": -2147483648,
"type": "integer",
"description": "Fade duration (ms).\\n Integer 32-bit.",
"maximum": 2147483647
}
}
}

Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise