バージョン

menu_open
Wwise SDK 2022.1.12

◆ OpenGroup()

ak_wwise_plugin_undo_group_id AK.Wwise::Plugin::V1::UndoManager::OpenGroup ( ak_wwise_plugin_undo_group_id  in_reopenGroupId = 0)
inline

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_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.h537 行目に定義があります。

参照先 AK.Wwise::Plugin::CBaseInterfaceGlue< CHostUndoManager >::g_cinterface, ak_wwise_plugin_host_undo_manager_v1::OpenGroup.

参照元 AK.Wwise::Plugin::AutoUndoGroup::AutoUndoGroup().


このページはお役に立ちましたか?

サポートは必要ですか?

ご質問や問題、ご不明点はございますか?お気軽にお問い合わせください。

サポートページをご確認ください

あなたのプロジェクトについて教えてください。ご不明な点はありませんか。

プロジェクトを登録していただくことで、ご利用開始のサポートをいたします。

Wwiseからはじめよう