版本

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

◆ CanLogUndos()

bool AK.Wwise::Plugin::V1::UndoManager::CanLogUndos ( ) const
inline

Returns whether logging can occur or not.

Call this function when you are about to log an undo event to know if Wwise is in a state where undos are enabled. Undo logging can be disabled for a particular plug-in object if it already lives in the undo stack or in the clipboard.

This function is useful to determine whether a complex undo operation can be started without opening a new undo group (see ak_wwise_plugin_host_undo_manager_v1::OpenGroup). Otherwise, the simple fact of opening an undo group will give a result of 0 if it's not possible to log undos at this time.

返回
true if the plug-in can log undo events at this time.

在文件 HostUndoManager.h620 行定义.

引用了 ak_wwise_plugin_host_undo_manager_v1::CanLogUndos , 以及 AK.Wwise::Plugin::CBaseInterfaceGlue< CHostUndoManager >::g_cinterface.


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅