Add a patch of terrain to a BitPacker
Declaration Syntax
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)