版本

menu_open
Wwise SDK 2023.1.3

◆ ComputeSphericalVBAPGains()

virtual AKRESULT AK::IAkMixerPluginContext::ComputeSphericalVBAPGains ( void *  in_pPannerData,
AkReal32  in_fAzimuth,
AkReal32  in_fElevation,
AkUInt32  in_uNumChannels,
AK::SpeakerVolumes::VectorPtr  out_vVolumes 
)
pure virtual

Compute panning gains on the plane given an incidence angle and channel configuration.

备注: ComputePositioning is more general than this one, as it handles spread and focus, and can also compute speaker gains for non-3D spatialization, and should be favored.
返回
AK_Success if successful, AK_Fail otherwise.
参数
in_pPannerDataContains data relevant to the 3D panner that shoud be re-used accross plugin instances.
in_fAzimuthIncident angle, in radians [-pi,pi], where 0 is the azimuth (positive values are clockwise)
in_fElevationIncident angle, in radians [0,pi], where 0 is the elevation (positive values are clockwise)
in_uNumChannelsNumber of output channels.
out_vVolumesReturned volumes (see AK::SpeakerVolumes::Vector services). Must be allocated prior to calling this function with the size returned by AK::SpeakerVolumes::Vector::GetRequiredSize() for the desired configuration.

此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅