Difference between revisions of "LlGetTextureRot/ja"

From Second Life Wiki
Jump to navigation Jump to search
m (カテゴリ変更)
 
(2 intermediate revisions by one other user not shown)
Line 6: Line 6:
|func_footnote
|func_footnote
|func_desc
|func_desc
|return_text='''side'''のテクスチャの回転
|return_text='''side''' のテクスチャの回転
|spec
|spec
|caveats
|caveats
|constants
|constants
|examples=<lsl>//Tells the owner the texture rotation on all sides
|examples=<source lang="lsl2">//全ての面のテクスチャの回転をオーナーに知らせます
default
default
{
{
Line 23: Line 23:
         }
         }
     }
     }
}</lsl>
}</source>
|helpers
|helpers
|also_functions={{LSL DefineRow||[[llRotateTexture/ja|llRotateTexture]]|}}
|also_functions={{LSL DefineRow||[[llRotateTexture/ja|llRotateTexture]]|}}
Line 31: Line 31:
|also_articles
|also_articles
|notes
|notes
|cat1=Texture/ja
|cat1=Texture
|cat2
|cat2
|cat3
|cat3
|cat4
|cat4
}}
}}

Latest revision as of 06:38, 25 February 2016

要約

関数: float llGetTextureRot( integer side );

side のテクスチャの回転を float で返します。

• integer side 番号もしくは ALL_SIDES

sideALL_SIDES であれば関数は全ての面に作用します。

警告

  • side が存在しない面を指している場合、関数はエラーを出さずに復帰します。
All Issues ~ Search JIRA for related Bugs

サンプル

//全ての面のテクスチャの回転をオーナーに知らせます
default
{
    state_entry()
    {
        integer i = 0;
        integer max = llGetNumberOfSides();
        while(i < max)
        {
            llSay(0,"Face "+(string)i+" texture rotation is " + (string)llGetTextureRot(i));
            ++i;
        }
    }
}

関連項目

関数

•  llRotateTexture
•  llGetNumberOfSides

特記事項

Search JIRA for related Issues

Signature

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