Platform SDK: DirectX

DirectSound3DBuffer.SetConeOrientation

DirectSound3DBuffer.SetConeOrientation メソッドは、サウンド バッファのサウンド プロジェクション コーンの方向を設定する。コーン角度とコーン ボリューム係数が既に設定されていない限り、このメソッドは何もしない。

object.SetConeOrientation( _
    x As Single, _
    y As Single, _
    z As Single, _
    applyFlag As CONST_DS3DAPPLYFLAGS)

パラメータ

object
DirectSound3DBuffer オブジェクトを表すオブジェクト式。
xyz
サウンド コーンの新しい方向ベクトルの座標。
applyFlag
設定が適用されるタイミングを示す値。CONST_DS3DAPPLYFLAGS 列挙の定数のいずれかでなければならない。

エラー コード

失敗すればエラーが発生し、Err.NumberDSERR_INVALIDPARAM が設定される。

参照

DirectSound3DBuffer.SetConeAnglesDirectSound3DBuffer.SetConeOutsideVolume