版本

menu_open
Wwise SDK 2024.1.1
ak_wwise_plugin_host_frontend_model_v1结构体 参考

Interface used to interact with the frontend model. 更多...

#include <HostFrontendModel.h>

类 ak_wwise_plugin_host_frontend_model_v1 继承关系图:
ak_wwise_plugin_interface_ptr

Public 类型

using Instance = ak_wwise_plugin_host_frontend_model_instance_v1
 Base host-provided instance type for ak_wwise_plugin_host_frontend_model_v1. 更多...
 

Public 成员函数

 ak_wwise_plugin_host_frontend_model_v1 ()
 
- 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 属性

bool(* HasWidget )(struct ak_wwise_plugin_host_frontend_model_instance_v1 *in_this, const char *in_absoluteId)
 Checks if a specific widget exists. 更多...
 
ak_wwise_plugin_widget *(* GetParentWidget )(struct ak_wwise_plugin_host_frontend_model_instance_v1 *in_this, const char *in_absoluteId)
 Returns the parent widget of a given Frontend Handle hierarchy. 更多...
 
ak_wwise_plugin_widget *(* GetRootWidget )(struct ak_wwise_plugin_host_frontend_model_instance_v1 *in_this)
 Returns the main layout widget of a given Frontend Handle hierarchy. 更多...
 
ak_wwise_plugin_widget *(* GetWidget )(struct ak_wwise_plugin_host_frontend_model_instance_v1 *in_this, const char *in_absoluteId)
 Returns a specific widget of a given Frontend Handle hierarchy. 更多...
 
const char *(* GetWidgetID )(struct ak_wwise_plugin_host_frontend_model_instance_v1 *in_this, ak_wwise_plugin_widget *in_widget)
 Gets the ID of a widget. 更多...
 
const char *(* GetWidgetType )(struct ak_wwise_plugin_host_frontend_model_instance_v1 *in_this, ak_wwise_plugin_widget *in_widget)
 Gets the type ID of a widget. 更多...
 
bool(* IsWidgetContainer )(struct ak_wwise_plugin_host_frontend_model_instance_v1 *in_this, ak_wwise_plugin_widget *in_widget)
 Checks if the widget can contain other widgets. 更多...
 
bool(* IsWidgetTopLevel )(struct ak_wwise_plugin_host_frontend_model_instance_v1 *in_this, ak_wwise_plugin_widget *in_widget)
 Checks if the widget is top-level. 更多...
 
bool(* IsWidgetVisible )(struct ak_wwise_plugin_host_frontend_model_instance_v1 *in_this, ak_wwise_plugin_widget *in_widget)
 Determines the visibility state of the given widget. 更多...
 
bool(* IsWidgetEnabled )(struct ak_wwise_plugin_host_frontend_model_instance_v1 *in_this, ak_wwise_plugin_widget *in_widget)
 Determines if a widget is enabled for mouse and keyboard input. 更多...
 
void(* EnableWidget )(struct ak_wwise_plugin_host_frontend_model_instance_v1 *in_this, ak_wwise_plugin_widget *in_widget, bool in_enable)
 Enables or disables mouse and keyboard input for the widget. 更多...
 
void(* ShowWidget )(struct ak_wwise_plugin_host_frontend_model_instance_v1 *in_this, ak_wwise_plugin_widget *in_widget, bool in_show)
 Sets the visibility state of the widget. 更多...
 
void(* SetWidgetFocus )(struct ak_wwise_plugin_host_frontend_model_instance_v1 *in_this, ak_wwise_plugin_widget *in_widget)
 Claims the input focus for the widget. 更多...
 
bool(* Connect )(struct ak_wwise_plugin_host_frontend_model_instance_v1 *in_this, ak_wwise_plugin_widget *in_widget, const char *in_name, void(*in_handler)(), void *in_userData)
 Connects a signal to a handler taking some user-defined data. 更多...
 
void(* ForEachChildren )(struct ak_wwise_plugin_host_frontend_model_instance_v1 *in_this, const char *in_absoluteId, void(*in_handler)(ak_wwise_plugin_widget *, void *), void *in_userData)
 Applies a user-defined handler to every child of a container. 更多...
 
- 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 更多...
 

详细描述

Interface used to interact with the frontend model.

The frontend model is the service in charge of building GUI views and managing the objects's lifetime. It takes the description of a view in the form of a WAFM file, creates the widget hierarchy, and stores the objects in a specific handle. The handle is shared to the user to allow interaction with the view's widgets.

在文件 HostFrontendModel.h45 行定义.


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅