OpenMetaverse Protocol Library Developers API Documentation
TerrainHeightAtPoint Method (x, y, height)
NamespacesOpenMetaverseSimulatorTerrainHeightAtPoint(Int32, Int32, Single % )
Retrieve the terrain height at a given coordinate
Declaration Syntax
C#
public 
bool 
TerrainHeightAtPoint(
        
int 
x,
        
int 
y,
        
out 
float 
height
)
Parameters
x ( Int32)
Sim X coordinate, valid range is from 0 to 255
y ( Int32)
Sim Y coordinate, valid range is from 0 to 255
height ( Single %)
The terrain height at the given point if the lookup was successful, otherwise 0.0f
Return Value
True if the lookup was successful, otherwise false

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