Difference between revisions of "LlGetMaxScaleFactor/ja"

From Second Life Wiki
Jump to navigation Jump to search
m
m
 
Line 5: Line 5:
|return_type=float
|return_type=float
|func_desc
|func_desc
|return_text=that is the largest scaling factor that can be used with [[llScaleByFactor]] to resize the object.  This maximum is determined by the [[Linkability Rules]] and [[Limits#Building|prim scale limits]].
|return_text=[[llScaleByFactor]]を使用してオブジェクトのサイズを変更する際に使用できる最大のスケーリングファクターです。この最大値は[[Linkability Rules]]および[[Limits#Building|prim scale limits]]によって決定されます。
|spec
|spec
|caveats
|caveats

Latest revision as of 15:28, 22 November 2023

要約

関数: float llGetMaxScaleFactor( );

llScaleByFactorを使用してオブジェクトのサイズを変更する際に使用できる最大のスケーリングファクターです。この最大値はLinkability Rulesおよびprim scale limitsによって決定されます。を float で返します。

サンプル

default
{ 
    touch_start(integer total_number)
    {
        float min_factor = llGetMinScaleFactor();
        float max_factor = llGetMaxScaleFactor();
        llSay(0, "Choose a value between " + (string)min_factor + " and " + (string)max_factor
            + " when calling llScaleByFactor() on this linkset.");
    }
}

関連項目

特記事項

経緯

Search JIRA for related Issues

Signature

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