OsGetRegionSize: Difference between revisions
From OpenSimulator
Jump to navigationJump to search
imported>Kcozens m Added permissions and delay information |
imported>Kcozens m Added note stating which version of OpenSim introduced this function |
||
| Line 17: | Line 17: | ||
Usually this function returns 256x256. | Usually this function returns 256x256. | ||
However, when called in a var/mega region it returns the size of the entire simulator. | However, when called in a var/mega region it returns the size of the entire simulator. | ||
| | |additional_info=This function was added in 0.8-post-fixes | ||
}} | }} | ||
Revision as of 16:58, 15 October 2018
vector osGetRegionSize()
| |
| Returns the size of the region in meters.
Usually this function returns 256x256. However, when called in a var/mega region it returns the size of the entire simulator. | |
| Threat Level | This function does not do a threat level check |
| Permissions | Use of this function is always allowed by default |
| Extra Delay | 0 seconds |
| Example(s) | |
default
{
touch_start(integer t)
{
llSay(0, "Region size: " + (string)osGetRegionSize());
}
}
| |
| Notes | |
| This function was added in 0.8-post-fixes | |