llGetMaxScaleFactor/ja

From Second Life Wiki
< LlGetMaxScaleFactor
Revision as of 20:05, 7 October 2023 by Misaki Vanilla (talk | contribs) (copy from english(Todo: need translate to japanese))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Summary

Function: float llGetMaxScaleFactor( );

Returns a float 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 prim scale limits.

Examples

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.");
    }
}

See Also

Deep Notes

History

Search JIRA for related Issues

Signature

function float llGetMaxScaleFactor();