menu
버전
2024.1.4.8780
2024.1.4.8780
2023.1.12.8706
2022.1.18.8567
2021.1.14.8108
2019.2.15.7667
2019.1.11.7296
2018.1.11.6987
2017.2.10.6745
2017.1.9.6501
2016.2.6.6153
2015.1.9.5624
2024.1.4.8780
2023.1.12.8706
2022.1.18.8567
2021.1.14.8108
2019.2.15.7667
2019.1.11.7296
2018.1.11.6987
2017.2.10.6745
2017.1.9.6501
2016.2.6.6153
2015.1.9.5624
Wwise SDK 2024.1.4
|
Wwise Authoring API는 종합적인 쿼리 시스템을 제공해 Wwise 프로젝트의 가장 중요한 부분을 검색할 수 있도록 합니다. 더 자세히 말해, 프로젝트 내 어떤 오브젝트든 불러올 수 있다는 뜻입니다.
쿼리 시스템은 ak.wwise.core.object.get 함수에 포함돼있습니다. 더 자세한 내용은 해당 참고 자료 문서에서 확인하실 수 있습니다.
Queries can take 2 different forms:
info | 참고: We recommend using WAQL instead of the JSON query format. WAQL provides greater functionality and coverage, has better error handling and is easier to use. |
WAQL queries allows to specify the entire query in one unique line of text.
check_circle | 작은 정보: WAQL queries can also be used directly inside Wwise Authoring for testing. This is especially useful to verify the query syntax and results before implementing it inside your WAAPI program or script. For example, type the following WAQL query in the Wwise toolbar or List View search fields: $ from type Event
|
Learn more about WAQL:
info | 참고: JSON queries are not recommended. We recommend using WAQL queries instead. Refer to Using the Wwise Authoring Query Language (WAQL) and Getting Started with WAQL. |
JSON Queries are structured into two parts:
또한, 쿼리는 다음과 같은 상세 내용을 지정하는 옵션이 있습니다.
from 구문은 쿼리를 시작에 앞서 몇 가지 사항을 정합니다:
transform 구문은 선택된 오브젝트를 변형할 때 사용하는 변형 함수 몇 가지를 제공합니다. 첫 번째 변형은 from 구문으로 선택된 오브젝트에 적용됩니다. 다른 변형은 이전 변형의 결과물에 적용됩니다.
시퀀스에 여러 개의 변형이 적용될 수 있습니다.
The return expression specifies which elements of the Wwise objects to return. 반환하는 요소의 개수에는 제한이 없습니다.
The return expression can contain:
Two optional prefixes exist for property and reference names:
When no prefix is used, it returns the value as resolved by the override system. This is the equivalent of using the @@ prefix. We recommend not using a prefix.
예시:
표현식이 유효한 참조로 확인되면, 참조된 오브젝트의 속성에 대해 더 상세히 쿼리할 수 있습니다. For example, if the reference 'UserAuxSend0' on a Sound object references an existing Auxiliary Bus, it is possible to query a property of this Auxiliary Bus by appending a dot ('.'), followed by the property descriptor. Querying for the Attenuation of the referenced Auxiliary Bus would therefore simply be 'UserAuxSend0.Attenuation'.
예시:
일부 오브젝트에는 랜덤화(randomization) 같이 특정 기능을 하는 속성이 있습니다. 이런 기능과 관련된 값을 가져오기 위해서는, 해당 속성에 연관된 특수한 오브젝트를 함수와 유사한 접근자를 통해 쿼리합니다. 예를 들어, 랜더마이저(randomizer) 기능은 오브젝트의 특정 속성에 연결된 Modifier 오브젝트로 서술할 수 있습니다. 이 오브젝트는 'randomizer("PropertyName")'로 쿼리될 수 있습니다. 여기서 PropertyName에는 'Volume' 같은 속성 이름이 들어갑니다. 접근자가 유효한 참조를 제공할 경우, 이전에 설명한 것처럼 반환되는 오브젝트를 더 상세히 쿼리할 수 있습니다. For example, the 'Max' property of the Volume randomizer can be obtained like so: 'randomizer("Volume").@Max'.
사용 가능한 접근자 목록은 다음과 같습니다.
반환 표현식의 요소가 반환된 오브젝트에서 존재하지 않거나 호환 불가능할 경우, 결과물에서 제외됩니다.
ak.wwise.core.object.get 함수를 비롯해 옵션 오브젝트를 취하는 다른 함수들은 다음을 정의합니다.
일부 접근자는 옵션에 따라 영향을 받을 수 있습니다. 예를 들어 속성이나 참조 값을 가져올 때, 플랫폼을 지정해 연결되지 않은 값을 구할 수 있습니다. 플랫폼이 지정돼있지 않은 경우, 현재 플랫폼을 사용합니다. 언어 또한 별도로 지정해 Sound 오브젝트의 오디오 음원 데이터와 같이 특정 언어로 된 정보를 가져올 수 있습니다. 특별히 지정돼있지 않은 경우, 현재 언어를 사용합니다.
초기화에 대한 정보는 프로젝트 코드 를 참고하세요.
ak.wwise.core.object.get 에 더 많은 예제가 나와있습니다.
오브젝트 목록의 ID와 이름, 보이스 볼륨을 반환합니다.
정규 표현식을 이용해 'My'로 시작하는 Actor-Mixer Hierarchy 내 모든 오브젝트의 ID와 이름을 반환합니다.
To learn more about WAQL, refer to Using the Wwise Authoring Query Language (WAQL)
프로젝트를 등록하세요. 아무런 조건이나 의무 사항 없이 빠른 시작을 도와드리겠습니다.
Wwise를 시작해 보세요