浏览该文件的文档.
161 const GUID* in_guidPlatform,
166 #define AK_WWISE_PLUGIN_CUSTOM_DATA_V1_ID() \
167 AK_WWISE_PLUGIN_BASE_INTERFACE_FROM_ID(AK_WWISE_PLUGIN_INTERFACE_TYPE_CUSTOM_DATA, 1)
168 #define AK_WWISE_PLUGIN_CUSTOM_DATA_V1_CTOR( in_pluginInfo, in_data) \
170 .m_baseInterface = AK_WWISE_PLUGIN_BASE_INTERFACE_CTOR(AK_WWISE_PLUGIN_CUSTOM_DATA_V1_ID(), in_pluginInfo, in_data) \
262 const GUID* in_guidPlatform,
372 const GUID& in_guidPlatform,
375 )
const {
return false; }
V1::CustomData CustomData
Latest version of the C++ CustomData interface.
Interface used to write data during sound bank generation.
Backend API to load and save custom data in XML format.
Wwise Authoring Plug-ins - API to write data that can be converted for the target platform.
bool(* InitFromInstance)(struct ak_wwise_plugin_custom_data_instance_v1 *in_this, const struct ak_wwise_plugin_custom_data_instance_v1 *in_source)
Copy the plug-in's custom data from another instance of the same plug-in.
virtual bool InitFromWorkunit(XmlReader &in_reader)
Load the custom data structure from the provided Work Unit's XML.
void(* OnDelete)(struct ak_wwise_plugin_custom_data_instance_v1 *in_this)
OnDelete function is called when the user presses the "delete" button on a plug-in.
decltype(BaseInterface::m_version) InterfaceVersion
PluginInfoGenerator: Type for the m_version value in BaseInterface
Base instance type for providing custom data loading and saving through ak_wwise_plugin_custom_data_v...
bool(* InitFromWorkunit)(struct ak_wwise_plugin_custom_data_instance_v1 *in_this, struct ak_wwise_plugin_host_xml_reader_instance_v1 *in_pReader)
Load the custom data structure from the provided Work Unit's XML.
InterfacePtr GetInterfacePointer()
The C interface, fulfilled by your plug-in.
CCustomData::Instance * GetInstancePointer()
virtual bool InitFromInstance(const CustomData &in_source)
Copy the plug-in's custom data from another instance of the same plug-in.
virtual void InitToDefault()
Initializes the plug-in's custom data to its default values.
Base host-provided instance type for ak_wwise_plugin_host_data_writer_v1.
@ k_interfaceVersion
The interface version, as provided by this plug-in.
bool(* GetPluginData)(const struct ak_wwise_plugin_custom_data_instance_v1 *in_this, const GUID *in_guidPlatform, AkPluginParamID in_idParam, struct ak_wwise_plugin_host_data_writer_instance_v1 *in_pDataWriter)
Obtains parameters that will be sent to the sound engine when Wwise is connected.
virtual bool Save(XmlWriter &in_writer)
Save custom data structure in the provided XML.
CInterfacePtr InterfacePtr
bool(* Save)(struct ak_wwise_plugin_custom_data_instance_v1 *in_this, struct ak_wwise_plugin_host_xml_writer_instance_v1 *in_pWriter)
Save custom data structure in the provided Work Unit's XML.
ak_wwise_plugin_custom_data_v1()
virtual bool GetPluginData(const GUID &in_guidPlatform, AkPluginParamID in_idParam, DataWriter &in_dataWriter) const
Obtains parameters that will be sent to the sound engine when Wwise is connected.
API interface for XML-based plug-in persistence.
std::underlying_type< InterfaceType >::type InterfaceTypeValue
PluginInfoGenerator: Underlying storage type for the m_interface value in BaseInterface
ak_wwise_plugin_custom_data_instance_v1 Instance
Base instance type for providing custom data loading and saving.
void(* InitToDefault)(struct ak_wwise_plugin_custom_data_instance_v1 *in_this)
Initializes the plug-in's custom data to its default values.
AK_WWISE_PLUGIN_SPECIALIZE_INTERFACE_VERSION(AudioPlugin)
Wwise Authoring Plug-ins - API for XML-based persistence, as used in CustomData.
Interface description and base class for every Wwise Authoring plug-in interface.
Base host-provided instance type for reading XML files through ak_wwise_plugin_host_xml_v1.
@ AK_WWISE_PLUGIN_INTERFACE_TYPE_CUSTOM_DATA
2021.1 Custom Data reader backend part. ak_wwise_plugin_custom_data_v1
AkInt16 AkPluginParamID
Source or effect plug-in parameter ID
ak_wwise_plugin_custom_data_v1 CCustomData
API interface for XML-based plug-in persistence.
Base host-provided instance type for writing XML files through ak_wwise_plugin_host_xml_v1.
Backend API to load and save custom data in XML format.
virtual void OnDelete()
OnDelete function is called when the user presses the "delete" button on a plug-in.
const CCustomData::Instance * GetInstancePointer() const
AK_WWISE_PLUGIN_SPECIALIZE_INTERFACE_CLASS(AudioPlugin)
@ k_interfaceType
The interface type, as provided by this plug-in.
介绍一下自己的项目。我们会竭力为您提供帮助。
来注册自己的项目,我们帮您快速入门,不带任何附加条件!
开始 Wwise 之旅