LlAdjustSoundVolume/ja

From Second Life Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

要約

関数: llAdjustSoundVolume( float volume );

付随するサウンドのvolumeを調整します。

• float volume 0.0 (消音) から 1.0 (大音量) (0.0 <= volume <= 1.0)

警告

  • この関数は 0.1 秒間、スクリプトを停止します。
All Issues ~ Search JIRA for related Bugs

サンプル

default
{
    state_entry()
    {
        llListen(42, "", llGetOwner(), "");
    }

    listen(integer chan, string name, key id, string msg)
    {
        float value = (float)msg;
        llAdjustSoundVolume(value);
        llOwnerSay("Volume set to: " + (string)value + " of 1.0");
    }
}

特記事項

Search JIRA for related Issues

Signature

function void llAdjustSoundVolume( float volume );
この翻訳は 原文 と比べて古いですか?間違いがありますか?読みにくいですか?みんなで 修正 していきましょう! (手順はこちら)
この項目はあなたにとって参考にならない項目ですか?もしかしたらLSL Wikiの関連した項目が参考になるかもしれません。