版本

menu_open
Wwise SDK 2023.1.9
ak_wwise_plugin_host_object_store_v1结构体 参考

Custom inner property set interface. 更多...

#include <HostObjectStore.h>

类 ak_wwise_plugin_host_object_store_v1 继承关系图:
ak_wwise_plugin_interface_ptr

Public 类型

using Instance = ak_wwise_plugin_host_object_store_instance_v1
 Base host-provided instance type for ak_wwise_plugin_host_object_store_v1. 更多...
 

Public 成员函数

 ak_wwise_plugin_host_object_store_v1 ()
 
- Public 成员函数 继承自 ak_wwise_plugin_interface_ptr
constexpr ak_wwise_plugin_base_interface (decltype(m_interface) in_interface, decltype(m_version) in_version)
 
constexpr ak_wwise_plugin_base_interface ()
 
constexpr ak_wwise_plugin_base_interface (std::underlying_type< decltype(m_interface)>::type in_interface, decltype(m_version) in_version)
 

Public 属性

void(* InsertPropertySet )(struct ak_wwise_plugin_host_object_store_instance_v1 *in_this, const char *in_pszListName, unsigned int in_uiIndex, const struct ak_wwise_plugin_host_property_set_instance_v1 *in_pPropertySet)
 Inserts an inner property set into the specified list at the specified position. 更多...
 
bool(* RemovePropertySet )(struct ak_wwise_plugin_host_object_store_instance_v1 *in_this, const struct ak_wwise_plugin_host_property_set_instance_v1 *in_pPropertySet)
 Removes an inner property set from any list, without deleting the object itself. 更多...
 
struct ak_wwise_plugin_host_property_set_instance_v1 *(* GetPropertySet )(const struct ak_wwise_plugin_host_object_store_instance_v1 *in_this, const char *in_pszListName, unsigned int in_uiIndex)
 Gets an inner property set inside the specified list at the specified position. 更多...
 
unsigned int(* GetPropertySetCount )(const struct ak_wwise_plugin_host_object_store_instance_v1 *in_this, const char *in_pszListName)
 Gets the number of inserted indexes inside the specified list. 更多...
 
struct ak_wwise_plugin_host_property_set_instance_v1 *(* CreatePropertySet )(struct ak_wwise_plugin_host_object_store_instance_v1 *in_this, const char *in_pszType)
 Creates a new inner property set. 更多...
 
void(* DeletePropertySet )(struct ak_wwise_plugin_host_object_store_instance_v1 *in_this, struct ak_wwise_plugin_host_property_set_instance_v1 *in_pPropertySet)
 Frees the inner property set. 更多...
 
unsigned int(* GetListCount )(const struct ak_wwise_plugin_host_object_store_instance_v1 *in_this)
 Returns the number of inner property set lists to be used with GetListName. 更多...
 
unsigned int(* GetListName )(const struct ak_wwise_plugin_host_object_store_instance_v1 *in_this, unsigned int in_uiListIndex, char *out_pszListName, unsigned int in_uiBufferSize)
 Gets the name of the list at the specified position. 更多...
 
- Public 属性 继承自 ak_wwise_plugin_interface_ptr
ak_wwise_plugin_interface_type m_interface: 32
 Interface type (see ak_wwise_plugin_interface_type) 更多...
 
uint32_t m_version: 32
 Version of the interface 更多...
 

详细描述

Custom inner property set interface.

The Object Store contains named lists, and those named lists each contains a vector of inner property sets.

For example, you can create a list named "Property curve points" and have 12 inner property sets with coordinates, configuration and information for the 12 user-created curve points.

Inner property sets can be created from any inner types, as defined in the plug-in's XML definition file InnerTypes section. Your lists should contain recognizable types, as there is no way to poll the type of the created object. This system was created with a one-list-one-type design pattern; however, there is no actual restriction in using different types in a same list.

You can define as many named lists as required. You should consider creating different inner property sets or lists for each platform if the property set indexes aren't linked.

You can create new inner property set with CreatePropertySet, and insert it in a list's index with InsertPropertySet.

You can also subscribe to notifications through ak_wwise_plugin_notifications_object_store_v1 in order to be informed when some inner property set changed.

备注: In order to manage property sets, you must make sure to use AK::Wwise::Plugin::RequestPropertySet in your plug-in.
备注: Historical naming convention described it as "inner object" and "inner type". For simplicity, since we are talking about property sets, the naming has been standardized to "inner property set". However, the names are interchangeable and are still being used.
参见

在文件 HostObjectStore.h75 行定义.


此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅