Version

menu_open
Wwise SDK 2021.1.14

◆ As()

template<typename Backend >
Backend* AK.Wwise::Plugin::V1::LinkBackend::As ( )
inline

Retrieves a link to the plug-in's backend instance, casted as your C++ Backend class type.

Note: The returned pointer might be modified in the frontend lifetime. For example, a plug-in that would undo and redo a plug-in creation might return a different value. As such, you should not store the backend pointer in a class member, but query it at every operation.
Template Parameters
Backend Expected type of the backend instance. An unexpected type yields to an undefined result.
Returns
Pointer of the backend class instance.

Definition at line 188 of file PluginLinks.h.

References AK.Wwise::Plugin::V1::LinkBackend::Get().


Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise