Touch start/ja

From Second Life Wiki
< Touch start
Revision as of 05:32, 29 September 2008 by Asuka Neely (talk | contribs)
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.

説明

イベント: touch_start( integer num_detected ){ ; }

エージェントがタスクを起動することによって作動します。

• integer num_detected 最後のクロック周期までにタッチして探知されたエージェントの数

サンプル

エージェントのキーを探知するのに、0からnum_detected - 1の数値を使用することができます。 <lsl>default {

   touch_start(integer num_detected)
   {
       integer i = 0;
       for(; i<num_detected; ++i)
           llWhisper(0, "Touched by " + llKey2Name(llDetectedKey(i)));
   }

}</lsl>

参考情報

イベント

•  touch
•  touch_end

関数

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