Version

menu_open
Wwise SDK 2021.1.14

◆ 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.

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

Definition at line 621 of file HostUndoManager.h.

References ak_wwise_plugin_host_undo_manager_v1::CanLogUndos, and AK.Wwise::Plugin::CBaseInterfaceGlue< CHostUndoManager >::g_cinterface.


Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise