バージョン

menu_open
Wwise SDK 2019.2.15
ak.wwise.core.object.create Arguments Schema

Schema

{
"localDefinitions": {
"children": {
"type": "array",
"description": "A list of child objects to be created.",
"items": {
"type": "object",
"description": "A child objects to be created.",
"properties": {
"type": {
"type": "string",
"description": "The type of the new object. Refer to \\ref wobjects_index for possible object types."
},
"name": {
"type": "string",
"description": "The name of the new object."
},
"notes": {
"type": "string",
"description": "The notes or comments of the new object."
},
"children": {
"type": "array",
"description": "A list of child objects to be created.",
"items": {
"type": "object",
"description": "A child objects to be created.",
"properties": {
"type": {
"type": "string",
"description": "The type of the new object. Refer to \\ref wobjects_index for possible object types."
},
"name": {
"type": "string",
"description": "The name of the new object."
},
"notes": {
"type": "string",
"description": "The notes or comments of the new object."
},
"children": {
"$ref": "#/localDefinitions/children"
}
},
"patternProperties": {
"^@[:_a-zA-Z0-9]+$": {
"description": "Sets the value of property \\@propertyName. Refer to \\ref wobjects_index for property names.\\n The value of a property.",
"anyOf": [
{
"type": "null",
"description": "A null value. No reference to an object."
},
{
"type": "string",
"description": "A string value."
},
{
"type": "number",
"description": "A numerical value."
},
{
"type": "boolean",
"description": "A boolean value."
}
]
}
},
"required": [
"type",
"name"
],
"additionalProperties": false
}
}
},
"patternProperties": {
"^@[:_a-zA-Z0-9]+$": {
"description": "Sets the value of property \\@propertyName. Refer to \\ref wobjects_index for property names.\\n The value of a property.",
"anyOf": [
{
"type": "null",
"description": "A null value. No reference to an object."
},
{
"type": "string",
"description": "A string value."
},
{
"type": "number",
"description": "A numerical value."
},
{
"type": "boolean",
"description": "A boolean value."
}
]
}
},
"required": [
"type",
"name"
],
"additionalProperties": false
}
}
},
"type": "object",
"properties": {
"parent": {
"anyOf": [
{
"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. Ex: Event:Play_Sound_01"
},
{
"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}\\}$",
"description": "An object GUID of the form: {aabbcc00-1122-3344-5566-77889900aabb}."
},
{
"type": "string",
"pattern": "^\\\\",
"description": "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."
}
],
"description": "The ID (GUID), name, or path of the parent of the new object."
},
"onNameConflict": {
"type": "string",
"description": "The action to take if \"parent\" already has a child with the same name. Default value is \"fail\". Refer to \\ref waapi_create_objects_modes for more information.",
"enum": [
"rename",
"replace",
"fail",
"merge"
]
},
"platform": {
"anyOf": [
{
"type": "string",
"pattern": "^[a-zA-Z_]+[a-zA-Z_0-9()]*$",
"description": "The name of the 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}\\}$",
"description": "An object GUID of the form: {aabbcc00-1122-3344-5566-77889900aabb}."
}
],
"description": "The ID (GUID) or unique name of the platform used when setting properties via this command. Not specifying a platform sets the value for all linked platforms."
},
"autoAddToSourceControl": {
"type": "boolean",
"description": "Determines if Wwise automatically performs an Add or Checkout operation on the imported files with the source control. Defaults to false."
},
"type": {
"type": "string",
"description": "The type of the new object. Refer to \\ref wobjects_index for possible object types."
},
"name": {
"type": "string",
"description": "The name of the new object."
},
"notes": {
"type": "string",
"description": "The notes or comments of the new object."
},
"children": {
"type": "array",
"description": "A list of child objects to be created.",
"items": {
"type": "object",
"description": "A child objects to be created.",
"properties": {
"type": {
"type": "string",
"description": "The type of the new object. Refer to \\ref wobjects_index for possible object types."
},
"name": {
"type": "string",
"description": "The name of the new object."
},
"notes": {
"type": "string",
"description": "The notes or comments of the new object."
},
"children": {
"$ref": "#/localDefinitions/children"
}
},
"patternProperties": {
"^@[:_a-zA-Z0-9]+$": {
"description": "Sets the value of property \\@propertyName. Refer to \\ref wobjects_index for property names.\\n The value of a property.",
"anyOf": [
{
"type": "null",
"description": "A null value. No reference to an object."
},
{
"type": "string",
"description": "A string value."
},
{
"type": "number",
"description": "A numerical value."
},
{
"type": "boolean",
"description": "A boolean value."
}
]
}
},
"required": [
"type",
"name"
],
"additionalProperties": false
}
}
},
"patternProperties": {
"^@[:_a-zA-Z0-9]+$": {
"description": "Sets the value of property \\@propertyName. Refer to \\ref wobjects_index for property names.\\n The value of a property.",
"anyOf": [
{
"type": "null",
"description": "A null value. No reference to an object."
},
{
"type": "string",
"description": "A string value."
},
{
"type": "number",
"description": "A numerical value."
},
{
"type": "boolean",
"description": "A boolean value."
}
]
}
},
"required": [
"type",
"name",
"parent"
],
"additionalProperties": false
}

このページはお役に立ちましたか?

サポートは必要ですか?

ご質問や問題、ご不明点はございますか?お気軽にお問い合わせください。

サポートページをご確認ください

あなたのプロジェクトについて教えてください。ご不明な点はありませんか。

プロジェクトを登録していただくことで、ご利用開始のサポートをいたします。

Wwiseからはじめよう