버전

menu_open

ak.wwise.core.switchContainer.getAssignments


Returns the list of assignments between a Switch Container's children and states.

Supported by

Graphical User Interface, Command-Line Interface.

Arguments

Name Type Description
id *   The ID (GUID) or path of the Switch Container.

(Required *)

Arguments Details


id

description : The ID (GUID) or path of the Switch Container.
Possibilities, one of the following :

1) 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}\}$

2) type : string
pattern : ^\


Result

Name Type Description
return   List of assignments (pairs of child and state).

Result Details


return

description : List of assignments (pairs of child and state).
Possible types : or object

resultSchema / return / ...

child

description : The ID (GUID) or path of the child assigned to a State.
Possibilities, one of the following :

1) 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}\}$

2) type : string
pattern : ^\

resultSchema / return / ...

stateOrSwitch

description : The ID (GUID) or path of the State or Switch to which the child is assigned.
Possibilities, one of the following :

1) 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}\}$

2) type : string
pattern : ^\


Examples :

Assignments of a Switch Container.

Get the list of assignments for a Switch Container.

Arguments:

{
    "id": "{7A12D08F-B0D9-4403-9EFA-2E6338C197C1}"
}

Result:

{
    "return": [
        {
            "child": "{7A12D08F-B0D9-4403-9EFA-2E6338C197C1}", 
            "stateOrSwitch": "{A076AA65-B71A-45BB-8841-5A20C52CE727}"
        }, 
        {
            "child": "{8B12D08F-B0D9-4403-9EFA-2E6338C197D1}", 
            "stateOrSwitch": "{B076BB65-B71A-45BB-8841-5A20C52CE738}"
        }
    ]
}


Detailed JSON Schema


Arguments :

{
    "type": "object", 
    "properties": {
        "id": {
            "description": "The ID (GUID) or path of the Switch Container.", 
            "anyOf": [
                {
                    "type": "string", 
                    "pattern": *Must be a valid GUID*
                }, 
                {
                    "type": "string", 
                    "pattern": "^\\\\"
                }
            ]
        }
    }, 
    "required": [
        "id"
    ], 
    "additionalProperties": false
}


Options :

{
    "type": "object", 
    "required": [], 
    "properties": {}, 
    "additionalProperties": false
}


Response :

{
    "type": "object", 
    "properties": {
        "return": {
            "description": "List of assignments (pairs of child and state).", 
            "items": [
                {
                    "type": "object", 
                    "properties": {
                        "child": {
                            "description": "The ID (GUID) or path of the child assigned to a State.", 
                            "anyOf": [
                                {
                                    "type": "string", 
                                    "pattern": *Must be a valid GUID*
                                }, 
                                {
                                    "type": "string", 
                                    "pattern": "^\\\\"
                                }
                            ]
                        }, 
                        "stateOrSwitch": {
                            "description": "The ID (GUID) or path of the State or Switch to which the child is assigned.", 
                            "anyOf": [
                                {
                                    "type": "string", 
                                    "pattern": *Must be a valid GUID*
                                }, 
                                {
                                    "type": "string", 
                                    "pattern": "^\\\\"
                                }
                            ]
                        }
                    }, 
                    "required": [
                        "child", 
                        "stateOrSwitch"
                    ], 
                    "additionalProperties": false
                }
            ]
        }
    }
}

Document version : 1


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

지원이 필요하신가요?

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

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

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

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

Wwise를 시작해 보세요