バージョン

menu_open
警告:あなたのメジャーリリース ( 2022.1.13.8454 ) に該当する最新ドキュメンテーションが表示されています。特定バージョンのドキュメンテーションにアクセスするには、Audiokinetic Launcherでオフラインドキュメンテーションをダウンロードし、Wwise AuthoringのOffline Documentationオプションにチェックを入れてください。
Wwise SDK 2022.1.13

◆ SetScalingFactor()

AKSOUNDENGINE_API AKRESULT AK::SoundEngine::SetScalingFactor ( AkGameObjectID  in_GameObjectID,
AkReal32  in_fAttenuationScalingFactor 
)

Sets the scaling factor of a Game Object. Modify the attenuation computations on this Game Object to simulate sounds with a larger or smaller area of effect.

戻り値
  • AK_Success when successful
  • AK_InvalidParameter if the scaling factor specified was 0 or negative.
  • AK_InvalidFloatValue if the value specified was NaN or Inf
引数
in_GameObjectIDGame object identifier
in_fAttenuationScalingFactorScaling Factor, 1 means 100%, 0.5 means 50%, 2 means 200%, and so on.

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

サポートは必要ですか?

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

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

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

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

Wwiseからはじめよう