OpenMetaverse Protocol Library Developers API Documentation
SetTerrainVariables Method (WaterHeight, TerrainRaiseLimit, TerrainLowerLimit, UseEstateSun, FixedSun, SunPosition)
NamespacesOpenMetaverseEstateToolsSetTerrainVariables(Single, Single, Single, Boolean, Boolean, Single)
Set several estate specific configuration variables
Declaration Syntax
C#
public
void
SetTerrainVariables(

float
WaterHeight,

float
TerrainRaiseLimit,

float
TerrainLowerLimit,

bool
UseEstateSun,

bool
FixedSun,

float
SunPosition
)
Parameters
WaterHeight ( Single)
The Height of the waterlevel over the entire estate. Defaults to 20
TerrainRaiseLimit ( Single)
The maximum height change allowed above the baked terrain. Defaults to 4
TerrainLowerLimit ( Single)
The minimum height change allowed below the baked terrain. Defaults to -4
UseEstateSun ( Boolean)
true to use
FixedSun ( Boolean)
if True forces the sun position to the position in SunPosition
SunPosition ( Single)
The current position of the sun on the estate, or when FixedSun is true the static position the sun will remain.
Remarks
6.0 = Sunrise, 30.0 = Sunset

Assembly: OpenMetaverse(Module: OpenMetaverse.dll) Version: 0.9.3.3318 (0.9.3.3318)