版本

menu_open
Wwise SDK 2023.1.3
ak_wwise_plugin_undo_event_v1结构体 参考

API to create a custom undo event in a plug-in. 更多...

#include <HostUndoManager.h>

类 ak_wwise_plugin_undo_event_v1 继承关系图:
ak_wwise_plugin_interface_ptr AK.Wwise::Plugin::V1::DynamicUndoEvent< BackendDerivedClass >::Interface AK.Wwise::Plugin::V1::UndoEvent< Backend >::Interface

Public 类型

using Instance = ak_wwise_plugin_undo_event_instance_v1
 Base instance type for providing custom undo operations. 更多...
 

Public 成员函数

 ak_wwise_plugin_undo_event_v1 ()
 
 ak_wwise_plugin_undo_event_v1 (decltype(m_interface) in_interface, decltype(m_version) in_version)
 
 ak_wwise_plugin_undo_event_v1 (std::underlying_type< decltype(m_interface)>::type in_interface, decltype(m_version) in_version)
 
- Public 成员函数 继承自 ak_wwise_plugin_interface_ptr
constexpr ak_wwise_plugin_base_interface (decltype(m_interface) in_interface, decltype(m_version) in_version)
 
constexpr ak_wwise_plugin_base_interface ()
 
constexpr ak_wwise_plugin_base_interface (std::underlying_type< decltype(m_interface)>::type in_interface, decltype(m_version) in_version)
 

Public 属性

void(* Destroy )(struct ak_wwise_plugin_undo_event_instance_v1 *in_this)
 Called when the system needs to destroy your ak_wwise_plugin_undo_event_v1 instance. 更多...
 
bool(* Undo )(struct ak_wwise_plugin_undo_event_instance_v1 *in_this, struct ak_wwise_plugin_backend_instance *in_backend)
 Called when the user asks to undo an action. 更多...
 
bool(* Redo )(struct ak_wwise_plugin_undo_event_instance_v1 *in_this, struct ak_wwise_plugin_backend_instance *in_backend)
 Called when the user asks to redo an action. 更多...
 
bool(* GetName )(const struct ak_wwise_plugin_undo_event_instance_v1 *in_this, const char **out_csName)
 Get the event name, to show after the "Undo " and "Redo " terms in the menu. 更多...
 
- Public 属性 继承自 ak_wwise_plugin_interface_ptr
ak_wwise_plugin_interface_type m_interface: 32
 Interface type (see ak_wwise_plugin_interface_type) 更多...
 
uint32_t m_version: 32
 Version of the interface 更多...
 

详细描述

API to create a custom undo event in a plug-in.

This is useful when you handle custom properties, not handled by Property Sets.

在文件 HostUndoManager.h41 行定义.


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅