버전

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

Creates an object of type 'type', as a child of 'parent'. Refer to 오디오 파일 가져오기 및 구조체 생성하기 for more information about creating objects. Also refer to ak.wwise.core.audio.import to import audio files to Wwise.

Arguments

Name Type Description
parent * any of: The ID (GUID), name, or path of the parent of the new 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.
onNameConflict string The action to take if "parent" already has a child with the same name. Default value is "fail". Refer to 이름 충돌 모드 이해하기 for more information.
Possible values:
  • rename
  • replace
  • fail
  • merge
platform any of: 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.
string The name of the object.
string An object GUID of the form: {aabbcc00-1122-3344-5566-77889900aabb}.
autoAddToSourceControl boolean Determines if Wwise automatically performs an Add or Checkout operation on the imported files with the source control. Defaults to false.
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 The notes or comments of the new object.
children array A list of child objects to be created.
children [...] object A child objects to be created.
children[...].type * string The type of the new object. Refer to Wwise Objects Reference for possible object types.
children[...].name * string The name of the new object.
children[...].notes string The notes or comments of the new object.
children[...].children
children[...].regex(^@[:_a-zA-Z0-9]+$) any of: Sets the value of property @propertyName. Refer to Wwise Objects Reference for property names.
The value of a property.
null A null value. No reference to an object.
string A string value.
number A numerical value.
boolean A boolean value.
regex(^@[:_a-zA-Z0-9]+$) any of: Sets the value of property @propertyName. Refer to Wwise Objects Reference for property names.
The value of a property.
null A null value. No reference to an object.
string A string value.
number A numerical value.
boolean A boolean value.

(Required *)

Arguments Schema

Result

Name Type Description
id string The ID (GUID) of the newly created Object.
An object GUID of the form: {aabbcc00-1122-3344-5566-77889900aabb}.
name string The name of the newly created Object.
children array The children of objects created.
children [...] object An object created.
children[...].id string The ID (GUID) of the newly created Object.
An object GUID of the form: {aabbcc00-1122-3344-5566-77889900aabb}.
children[...].name string The name of the newly created Object.
children[...].children array The children of objects created.
children[...].children [...] An object created.

Result Schema

See Also

Examples

Refer to Wwise Authoring API (WAAPI, Wwise 저작 API) 사용하기 for more information about Wwise Authoring API.


이 페이지가 도움이 되었나요?

지원이 필요하신가요?

질문이 있으신가요? 문제를 겪고 계신가요? 더 많은 정보가 필요하신가요? 저희에게 문의해주시면 도와드리겠습니다!

지원 페이지를 방문해 주세요

작업하는 프로젝트에 대해 알려주세요. 언제든지 도와드릴 준비가 되어 있습니다.

프로젝트를 등록하세요. 아무런 조건이나 의무 사항 없이 빠른 시작을 도와드리겠습니다.

Wwise를 시작해 보세요