版本

    其他文档

menu_open
Wwise SDK 2018.1.11

◆ SetSwitch() [2/2]

AKRESULT __cdecl AK::SoundEngine::SetSwitch ( const char *  in_pszSwitchGroup,
const char *  in_pszSwitchState,
AkGameObjectID  in_gameObjectID 
)

Sets the state of a Switch Group.

返回
  • AK_Success if successful
  • AK_IDNotFound if the switch or Switch Group name was not resolved to an existing ID
    Make sure that the banks were generated with the "include string" option.
    Note: Strings are case-insensitive.
参见
参数
in_pszSwitchGroup Name of the Switch Group
in_pszSwitchState Name of the Switch
in_gameObjectID Associated game object ID

此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅