Difference between revisions of "LlGetNumberOfSides/ja"

From Second Life Wiki
Jump to navigation Jump to search
 
Line 9: Line 9:
|caveats
|caveats
|constants
|constants
|examples=<lsl>default
|examples=<source lang="lsl2">default
{
{
     state_entry()
     state_entry()
Line 17: Line 17:
         llOwnerSay( "I have " + (string)numOfSides + " sides." );
         llOwnerSay( "I have " + (string)numOfSides + " sides." );
     }
     }
}</lsl>
}</source>
|helpers
|helpers
|also_functions
|also_functions

Latest revision as of 06:37, 25 February 2016

要約

関数: integer llGetNumberOfSides( );

プリムの面 (側面) の数を integer で返します。

面と、プリムがもつ面の数を制御する条件についての詳細な情報は を参照してください。

サンプル

default
{
    state_entry()
    {
        // ホバーテキストを設定し、面の数を表示します
        integer numOfSides = llGetNumberOfSides();
        llOwnerSay( "I have " + (string)numOfSides + " sides." );
    }
}

特記事項

Search JIRA for related Issues

Signature

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