版本

menu_open

ak.soundengine.setGameObjectOutputBusVolume


Set the output bus volume (direct) to be used for the specified game object. See AK::SoundEngine::SetGameObjectOutputBusVolume.

Supported by

Graphical User Interface.

Arguments

Name Type Description
emitter * integer Associated emitter game object ID.
listener * integer Associated listener game object ID.
controlValue * number A multiplier where 0 means silence and 1 means no change. Therefore, values between 0 and 1 will attenuate the sound, and values greater than 1 will amplify it.

(Required *)

Arguments Details


emitter

description : Associated emitter game object ID.
type : integer
minimum : 0
maximum : 18446744073709551615

listener

description : Associated listener game object ID.
type : integer
minimum : 0
maximum : 18446744073709551615

controlValue

type : number
description : A multiplier where 0 means silence and 1 means no change. Therefore, values between 0 and 1 will attenuate the sound, and values greater than 1 will amplify it.


Examples :

Setting the "emitter"'s output bus volume for the "listener"

Amplifies the output bus volume of "emitter" for "listener" by using the multiplier "controlValue".

Arguments:

{
    "emitter": 1122334, 
    "listener": 4455667, 
    "controlValue": 2
}

Result:

{}


Detailed JSON Schema


Arguments :

{
    "type": "object", 
    "properties": {
        "emitter": {
            "description": "Associated emitter game object ID.", 
            "type": "integer", 
            "minimum": 0, 
            "maximum": 18446744073709551615
        }, 
        "listener": {
            "description": "Associated listener game object ID.", 
            "type": "integer", 
            "minimum": 0, 
            "maximum": 18446744073709551615
        }, 
        "controlValue": {
            "type": "number", 
            "description": "A multiplier where 0 means silence and 1 means no change. Therefore, values between 0 and 1 will attenuate the sound, and values greater than 1 will amplify it."
        }
    }, 
    "required": [
        "emitter", 
        "listener", 
        "controlValue"
    ], 
    "additionalProperties": false
}


Options :

{
    "type": "object", 
    "required": [], 
    "properties": {}, 
    "additionalProperties": false
}


Response :

{
    "type": "object", 
    "properties": {}, 
    "additionalProperties": false
}

Document version : 1


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅