Difference between revisions of "LlAdjustSoundVolume/ja"

From Second Life Wiki
Jump to navigation Jump to search
m (Undo revision 849682 by Mako Nozaki (Talk))
(2 intermediate revisions by one other user not shown)
Line 5: Line 5:
|p1_type=float|p1_name=volume
|p1_type=float|p1_name=volume
|func_footnote
|func_footnote
|func_desc=添付された音の'''volume'''を調整します。
|func_desc=付随するサウンドの'''volume'''を調整します。
|return_text
|return_text
|spec
|spec
Line 11: Line 11:
|constants
|constants
|examples=
|examples=
<lsl>
<source lang="lsl2">
default
default
{
{
Line 26: Line 26:
     }
     }
}
}
</lsl>
</source>
|helpers
|helpers
|also_functions
|also_functions

Revision as of 11:01, 21 February 2016

要約

関数: 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の関連した項目が参考になるかもしれません。