버전

menu_open
Wwise SDK 2021.1.14

◆ GetBankParameters()

virtual bool AK.Wwise::Plugin::V1::AudioPlugin::GetBankParameters ( const GUID in_guidPlatform,
DataWriter in_dataWriter 
) const
inlinevirtual

Obtains parameters that will be written to a bank.

This is the usual function that gets overridden to provide data from the Authoring plug-in to the Sound Engine plug-in. Its goal is to retrieve data (usually from the PropertySet) and write it in the proper format and order, so the Sound Engine part can retrieve it and use it.

By design, this function is called to store data, as provided in the plug-in definition XML.

Because these can be changed at run-time, the parameter block should stay relatively small. For example, it should only provide basic members. Array sets, full sections, binary data or Object Stores might be better sent using the GetPluginData function, as the system can then ask to update only a portion of the parameters.

The design pattern, in that case, is to call GetPluginData at the end of GetBankParameters with some unique in_idParam (AK::IAkPluginParam::ALL_PLUGIN_DATA_ID) indicating that you want to send all the parameters to the data writer.

Note: In order to use the in_pDataWriter instance, your plugin must request the data writer interface: AK::Wwise::Plugin::RequestWrite.
Parameters
[in] in_guidPlatform The unique ID of the queried platform
[in] in_dataWriter A reference to the data writer instance being used.
Returns
true if successfully putting some parameters in the bank
See also

Definition at line 229 of file AudioPlugin.h.


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

지원이 필요하신가요?

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

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

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

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

Wwise를 시작해 보세요