バージョン

menu_open

◆ ComputePositioning()

virtual AKRESULT AK::IAkAudioDeviceEffectPluginContext::ComputePositioning ( const AkPositioningData in_posData,
AkChannelConfig  in_inputConfig,
AkChannelConfig  in_outputConfig,
AK::SpeakerVolumes::MatrixPtr  out_mxVolumes 
)
pure virtual

Compute the speaker volume matrix of built-in positioning in Wwise from given positioning data and input and output channel configurations. Any known (non-anonymous) combination of configurations will work. For example, ambisonics will be decoded or encoded if needed.

注釈: The function will fail if the input or output configuration is object-based, as the speaker volume matrix would be undefined.

All panning or spatialization types are honored. 3D Spatialization is performed relative to the default listener position (0,0,0) and orientation, where the front vector is (0,0,1) and the top vector is (0,1,0), left handed.

戻り値
AK_Success if succeeded, AK_InvalidParameter if the input or output configuration is object-based, or AK_Fail if the channel configurations are unknown or unhandled.
引数
in_posData Positioning data. The field "threeD" is ignored if in_posData.behavioral.spatMode is AK_SpatializationMode_None.
in_inputConfig Channel configuration of the input.
in_outputConfig Channel configuration of the output.
out_mxVolumes Returned volumes matrix. Must be preallocated using AK::SpeakerVolumes::Matrix::GetRequiredSize() (see AK::SpeakerVolumes::Matrix services).

このページはお役に立ちましたか?

サポートは必要ですか?

ご質問や問題、ご不明点はございますか?お気軽にお問い合わせください。

サポートページをご確認ください

あなたのプロジェクトについて教えてください。ご不明な点はありませんか。

プロジェクトを登録していただくことで、ご利用開始のサポートをいたします。

Wwiseからはじめよう