OsSetTerrainTextures
From OpenSimulator
(Difference between revisions)
| Line 4: | Line 4: | ||
Opensimulator regions store two sets of textures or materials: | Opensimulator regions store two sets of textures or materials: | ||
* a set of texture keys for legacy viewers and map | * a set of texture keys for legacy viewers and map | ||
| − | * a set of | + | * a set of texture or pbr materials keys for new viewers.<br> |
so this function sets terrain: | so this function sets terrain: | ||
* textures for legacy viewers and map if types == 0 or 2 | * textures for legacy viewers and map if types == 0 or 2 | ||
Revision as of 17:00, 5 May 2025
osSetTerrainTextures(list textureKeys, integer types)
| |
Opensimulator regions store two sets of textures or materials:
so this function sets terrain:
The list textureKeys must contain keys or names of 4 textures or 4 pbr materials. They must be of the same type due to viewers restrictions. | |
| Threat Level | High |
| Permissions | ESTATE_MANAGER,ESTATE_OWNER |
| Extra Delay | 0 seconds |
| Notes | |
| This function was added in 0.9.3.1 | |