Wwise SDK 2024.1.1
|
Interface used to interact with the frontend model. 更多...
#include <HostFrontendModel.h>
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.h 第 45 行定义.