OsSetTerrainTextures
From OpenSimulator
(Difference between revisions)
												
			| Line 2: | Line 2: | ||
|function_syntax= osSetTerrainTextures(list textureKeys, integer types)  | |function_syntax= osSetTerrainTextures(list textureKeys, integer types)  | ||
|description=Sets terrain textures for:  | |description=Sets terrain textures for:  | ||
| − | * textures for legacy viewers if types == 0 or 2    | + | * textures for legacy viewers and map if types == 0 or 2    | 
| − | * new viewers if types == 1 or 2    | + | * textures for new viewers if types == 1 or 2    | 
| − | * PBR materials for new viewers if types == 1  | + | * PBR materials for new viewers if types == 1<br>  | 
| + | The list textureKeys must contain keys or names of 4 textures or pbr materials. They must be of the same type, either texture or material due to viewers restrictions. If the entry is a name, then the material or texture must be present on the prim inventory.<br>  | ||
|threat_level=High  | |threat_level=High  | ||
|permissions=ESTATE_MANAGER,ESTATE_OWNER  | |permissions=ESTATE_MANAGER,ESTATE_OWNER  | ||
Revision as of 16:44, 5 May 2025
osSetTerrainTextures(list textureKeys, integer types)
 
 | |
Sets terrain textures for:
 The list textureKeys must contain keys or names of 4 textures or pbr materials. They must be of the same type, either texture or material due to viewers restrictions. If the entry is a name, then the material or texture must be present on the prim inventory.  | |
| Threat Level | High | 
| Permissions | ESTATE_MANAGER,ESTATE_OWNER | 
| Extra Delay | 0 seconds | 
| Notes | |
| This function was added in 0.9.3.1 | |