OsSetTerrainTextures
From OpenSimulator
(Difference between revisions)
Line 6: | Line 6: | ||
* a set of texture or pbr material keys for new viewers.<br> | * a set of texture or pbr material keys for new viewers.<br> | ||
so this function allows to change those keys depending on the value of <b>types</b>: | so this function allows to change those keys depending on the value of <b>types</b>: | ||
− | * 0 | + | * 0 applies keys for legacy viewers and map, keys must be from textures |
* 1 applies keys for new viewers, keys must be from either textures or PBR materials | * 1 applies keys for new viewers, keys must be from either textures or PBR materials | ||
* 2 applies keys to to both, Keys must be from textures | * 2 applies keys to to both, Keys must be from textures |
Revision as of 11:10, 6 May 2025
osSetTerrainTextures(list textureKeys, integer types)
| |
Opensimulator regions store two sets of textures or materials keys:
so this function allows to change those keys depending on the value of types:
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 |