Version

menu_open
Wwise SDK 2023.1.3

◆ 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 620 of file HostUndoManager.h.

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


Cette page a-t-elle été utile ?

Besoin d'aide ?

Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !

Visitez notre page d'Aide

Décrivez-nous de votre projet. Nous sommes là pour vous aider.

Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !

Partir du bon pied avec Wwise