OsGetRegionSize
From OpenSimulator
(Difference between revisions)
m (Added permissions and delay information) |
|||
| Line 1: | Line 1: | ||
{{osslfunc | {{osslfunc | ||
| − | |threat_level= | + | |threat_level=ignored |
| + | |permissions=true | ||
| + | |delay=0 | ||
|function_syntax=vector osGetRegionSize() | |function_syntax=vector osGetRegionSize() | ||
|ossl_example=<source lang="lsl"> | |ossl_example=<source lang="lsl"> | ||
Revision as of 20:02, 25 October 2017
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()); } } | |