OpenMetaverse Protocol Library Developers API Documentation
CreatePatchFromHeightmap Method (output, heightmap, x, y)
NamespacesOpenMetaverse TerrainCompressorCreatePatchFromHeightmap(BitPack, array< Single > [] () [] [] , Int32, Int32)
Add a patch of terrain to a BitPacker
Declaration Syntax
C#
public 
static 
void 
CreatePatchFromHeightmap(
        
BitPack 
output,
        
float[] 
heightmap,
        
int 
x,
        
int 
y
)
Parameters
output ( BitPack)
BitPacker to write the patch to
heightmap ( array< Single > [] () [] [] )
Heightmap of the simulator, must be a 256 * 256 float array
x ( Int32)
X offset of the patch to create, valid values are from 0 to 15
y ( Int32)
Y offset of the patch to create, valid values are from 0 to 15

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