LlAdjustSoundVolume/ja

From Second Life Wiki
< LlAdjustSoundVolume
Revision as of 05:55, 10 April 2010 by Mako Nozaki (talk | contribs) (カテゴリ変更)
Jump to navigation Jump to search

要約

関数: llAdjustSoundVolume( float volume );

添付された音のvolumeを調整します。

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

警告

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

サンプル

<lsl> 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");
   }

}

</lsl>

特記事項

Search JIRA for related Issues

Signature

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