バージョン

menu_open

◆ CloseGroup

bool(* ak_wwise_plugin_host_undo_manager_v1::CloseGroup) (struct ak_wwise_plugin_host_undo_manager_instance_v1 *in_this, ak_wwise_plugin_undo_group_close_action in_action, ak_wwise_plugin_undo_group_id in_groupId, const char *in_szApplyEventName)

Closes the last opened group, in stack ordering.

Close the current group (_CLOSE) and add its content as a unique entry to the previous group, or to the Undo stack (_APPLY), or cancel its contents (_CANCEL).

in_szApplyEventName is only used for _APPLY. It is ignored elsewhere, and needs to be nullptr on _APPLY_FIRST_EVENT_NAME or _APPLY_LAST_EVENT_NAME.

in_groupId is only for validation, you can pass 0 if you do not wish to provide this validation.

警告: Cancelling contents doesn't undo all the grouped actions. You are responsible for doing all the proper undoing before closing the group.

警告:

引数
[in]in_thisCurrent instance of this interface.
[in]in_actionAction to perform when closing the group. Should usually be AK_WWISE_PLUGIN_UNDO_GROUP_CLOSE_ACTION_APPLY.
[in]in_groupId(Optional, pass 0) Validation to make sure the group being closed has the proper ID.
[in]in_szApplyEventNameEvent name. Added after "Undo " and "Redo " in the menu.
戻り値
true if successful.

HostUndoManager.h191 行目に定義があります。

参照元 AK.Wwise::Plugin::V1::UndoManager::CloseGroup().


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

サポートは必要ですか?

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

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

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

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

Wwiseからはじめよう