版本

menu_open

◆ OpenGroup

ak_wwise_plugin_undo_group_id(* ak_wwise_plugin_host_undo_manager_v1::OpenGroup) (struct ak_wwise_plugin_host_undo_manager_instance_v1 *in_this, ak_wwise_plugin_undo_group_id in_reopenGroupId)

Open a group that will contain all subsequent undo events.

This must be done prior to performing any action on PropertySets, or adding custom events, as it is important to have one unique element on the undo stack. You can open multiple groups at once, like a stack, as long as you close them before exiting your function.

in_reopenGroupId should be set to 0 for a new group.

Example: ak_wwise_plugin_undo_group_id m_dragAndDropGroupId = 0; m_dragAndDropGroupId = OpenGroup(this, m_dragAndDropGroupId); if (m_dragAndDropGroupId == 0) return; CloseGroup(this, m_done ? AK_WWISE_PLUGIN_UNDO_GROUP_CLOSE_ACTION_APPLY : AK_WWISE_PLUGIN_UNDO_GROUP_CLOSE_ACTION_CLOSE, "Drag and drop"); if (m_done) m_dragAndDropGroupId = 0;

参数
[in]in_thisCurrent instance of this interface.
[in]in_reopenGroupIdPreviously opened undo group, or 0 for a new group.
返回
The new undo group that just got created, or 0 if the system cannot open a group at the moment.

在文件 HostUndoManager.h166 行定义.

被这些函数引用 AK.Wwise::Plugin::V1::UndoManager::OpenGroup().


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅