版本

menu_open
警告:系统已根据您所用大版本 (2022.1.13.8454) 自动跳转至最新文档。若想访问特定版本的文档,请从 Audiokinetic Launcher 下载离线文档,并在 Wwise 设计程序中勾选 Offline Documentation 选项。
Wwise SDK 2022.1.13

◆ InsertPropertySet()

void AK.Wwise::Plugin::V1::ObjectStore::InsertPropertySet ( const char *  in_pszListName,
unsigned int  in_uiIndex,
const PropertySet in_propertySet 
)
inline

Inserts an inner property set into the specified list at the specified position.

To create a new inner property set, use CreatePropertySet . You can then insert that particular inner property set in the named list in_pszListName, at the in_uiIndex position, so it will be stored in the project data. Existing object positions equal to or higher than in_uiIndex will be incremented as required.

Named lists are created automatically, there is no limitation for naming. However, you should use the standardized naming convention for better memory usage in Wwise Authoring. List ordering is arbitrary.

备注: You must add up indexes sequentially. If you have 0-14 indexes, adding a new one at 40 will create it at 15. Pass (unsigned int)-1 as the in_uiIndex to insert at the end of the list.
警告: Never reuse the same inner property set under two different indexes or lists. If you are uncertain, or if you want to move it elsewhere, use RemovePropertySet before inserting it elsewhere.
参见
参数
[in]in_pszListNameName of the affected list. That list will be created or appended depending on the situation.
[in]in_uiIndexInner property set index in the list. If higher than or equal to the current object count in that list, will add a new index. Otherwise, increments previous object's indexes to make room for this new inner property set.
[in]in_propertySetThe inner property set to include in the list's index. This property set must be created with CreatePropertySet and not used elsewhere.

在文件 HostObjectStore.h441 行定义.

引用了 AK.Wwise::Plugin::CBaseInterfaceGlue< CHostObjectStore >::g_cinterface , 以及 ak_wwise_plugin_host_object_store_v1::InsertPropertySet.


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅