版本

    其他文档

menu_open
AKRESULT __cdecl AK::SoundEngine::SetObjectObstructionAndOcclusion ( AkGameObjectID  in_ObjectID,
AkUInt32  in_uListener,
AkReal32  in_fObstructionLevel,
AkReal32  in_fOcclusionLevel  
)

Set a game object's obstruction and occlusion levels. This method is used to affect how an object should be heard by a specific listener.

See also:
Returns:
Always returns AK_Success
Parameters:
in_ObjectID  Associated game object ID
in_uListener  Listener index (0: first listener, 7: 8th listener)
in_fObstructionLevel  ObstructionLevel: [0.0f..1.0f]
in_fOcclusionLevel  OcclusionLevel: [0.0f..1.0f]

此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅