Wwise SDK 2023.1.8
|
The Resource file (with an .rc extension) describes the resources the plug-in uses to create a custom graphical interface. An easy way to manage Resource files is to use the Visual Studio Editor tool, which you can use to drag widgets onto a canvas to build the GUI. This section explains how to create a Resource file for a new plug-in.
Before you proceed, ensure that you are familiar with the development tools. Refer to 開発ツールを使う for more information.
To create a Resource file:
premake:
MyPlugin_Authoring_Windows_vc160.sln
) in Visual Studio 2019.Resource.rc
file is created and appears under the project name in the Resource View. The file is located in the plug-in's WwisePlugin
subdirectory.Resource.rc
file and click Add Resource. In the Add Resource dialog, select Dialog and click New. A dialog resource is created and appears in the editing pane.Resource.rc
file in your project, and the second creates a resource.h
file based on the Resource file.Win32
subdirectory, open the PluginNamePluginGUI.h
file and add the following code: This code overrides the methods provided by AK::Wwise::Plugin::GUIWindows
and ensures that the plug-in uses the custom interface.PluginNamePluginGUI.cpp
file: