版本

menu_open
void __cdecl AK::SoundEngine::Wii::SetProcessModeBlocking ( ProcUIStatus  in_eStatus,
AkTimeMs  in_msFade = 0,
AkCurveInterpolation  in_eCurve = AkCurveInterpolation_Linear  
)

Use this function to tell the sound engine to switch to background/foreground/exit mode. Setting the RELEASING mode (for Home Menu) will fade out the volume and pause all sounds. Avoid calling other Wwise API while the application is in background. Setting the FOREGROUND mode (coming back from Home Menu) will resume sounds and fade in. Setting the EXIT mode must be done as soon as possible when the ProcUI status is PROCUI_STATUS_EXIT. Failing to do so can result in a deadlock if banks are unloaded before terminating the sound engine. However, you could also terminate the sound engine directly instead. This function returns after the fade out is finished.

Parameters:
in_eStatus  ProcUIStatus from ProcUIStatus() or ProcUIProcessMessages
in_msFade  Fade out time. Set to 0 for minimum time.
in_eCurve  Fade curve.

此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅