mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
add osSetTerrainTextures(LSL_List textures, LSL_Integer types) to set terrain textures for legacy viewers it types == 0 or 2; textures for new viewers if types == 1 or 2 or PBR materials if types == 1 (untested :( )
This commit is contained in:
@@ -1104,6 +1104,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||
m_OSSL_Functions.osSetTerrainTexture(level, texture);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void osSetTerrainTextures(LSL_List textures, LSL_Integer types)
|
||||
{
|
||||
m_OSSL_Functions.osSetTerrainTextures(textures, types);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void osSetTerrainTextureHeight(int corner, double low, double high)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user