LlGetAlpha/ja

From Second Life Wiki
< LlGetAlpha
Revision as of 19:42, 7 January 2008 by Asuka Neely (talk | contribs) (New page: {{LSL_Function/face|face}} {{LSL_Function/alpha|alpha}} {{LSL_Function/ja |func_id=50|func_sleep=0.0|func_energy=10.0 |func=llGetAlpha|return_type=float|p1_type=integer|p1_name=face |func_...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

要約

関数: float llGetAlpha( integer face );

表面のアルファです。を float で返します。

• integer face face number or ALL_SIDES

If face is ALL_SIDES then the function works on all sides. 0~1の範囲から返します。

警告

  • The function silently fails if its face value indicates a face that does not exist.
All Issues ~ Search JIRA for related Bugs

サンプル

<lsl>//全面のアルファをオーナにしらせます default {

   state_entry()
   {
       integer i = 0;
       integer max = llGetNumberOfSides();
       while(i < max)
       {
           llSay(0,"Face "+(string)i+" alpha is " + (string)llGetAlpha(i));
           ++i;
       }
   }
}</lsl>

関連項目

関数

•  llSetAlpha プリムのアルファを設定します
•  llGetColor プリムの色を取得します
•  llSetColor プリムの色を設定します
•  llSetLinkColor リンクしているプリムの色を設定します
•  llSetLinkAlpha リンクしているプリムのアルファを設定します
•  llGetNumberOfSides プリムの表面番号を取得します

記事

•  Translucent Color

特記事項

Search JIRA for related Issues

Signature

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