版本

menu_open
Wwise SDK 2022.1.12

◆ ExecuteActionOnEvent() [2/2]

AKSOUNDENGINE_API AKRESULT AK::SoundEngine::ExecuteActionOnEvent ( const char *  in_pszEventName,
AkActionOnEventType  in_ActionType,
AkGameObjectID  in_gameObjectID = AK_INVALID_GAME_OBJECT,
AkTimeMs  in_uTransitionDuration = 0,
AkCurveInterpolation  in_eFadeCurve = AkCurveInterpolation_Linear,
AkPlayingID  in_PlayingID = AK_INVALID_PLAYING_ID 
)

Executes an Action on all nodes that are referenced in the specified Event in an Action of type Play.

返回
  • AK_Success if the action was successfully queued.
  • AK_IDNotFound if the Event was not found (not loaded or there is a typo in the ID)
参见
参数
in_pszEventNameName of the event
in_ActionTypeAction to execute on all the elements that were played using the specified event.
in_gameObjectIDAssociated game object ID
in_uTransitionDurationFade duration
in_eFadeCurveCurve type to be used for the transition
in_PlayingIDAssociated PlayingID

此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅