Table of Contents

Wwise SDK 2018.1.11

◆ Compute3DPositioning() [2/2]

virtual AKRESULT AK::IAkMixerPluginContext::Compute3DPositioning ( const AkTransform in_emitter,
const AkTransform in_listener,
AkReal32  in_fCenterPerc,
AkReal32  in_fSpread,
AkReal32  in_fFocus,
AkChannelConfig  in_inputConfig,
AkChannelMask  in_uInputChanSel,
AkChannelConfig  in_outputConfig,
AK::SpeakerVolumes::MatrixPtr  out_mxVolumes 
)
pure virtual

Compute standard 3D positioning.

Returns
AK_Success if successful.
Note: This function is more complete and more efficient than the Compute3DPositioning service that uses spherical coordinates, and should be favored.
Parameters
in_emitter Emitter transform.
in_listener Listener transform.
in_fCenterPerc Center percentage. Only applies to mono inputs to outputs that have a center.
in_fSpread Spread.
in_fFocus Focus.
in_inputConfig Channel configuration of the input.
in_uInputChanSel Mask of input channels selected for panning (excluded input channels don't contribute to the output).
in_outputConfig Desired output configuration.
out_mxVolumes Returned volumes matrix. Must be preallocated using AK::SpeakerVolumes::Matrix::GetRequiredSize() (see AK::SpeakerVolumes::Matrix services).