height Map
fun heightMap(heightMap: Image, width: Float = 1.0f, height: Float = 1.0f, depth: Float = 1.0f): Mesh
Generates a heightmap mesh from an image.
Return
The generated mesh.
Parameters
height Map
The heightmap image.
width
The width of the mesh in 3D space.
height
The height of the mesh in 3D space.
depth
The depth of the mesh in 3D space.
fun heightMap(heightMap: Image, size: ERROR CLASS: Symbol not found for Triple<kotlin/Float, kotlin/Float, kotlin/Float>): Mesh
Generates a heightmap mesh from an image.
Return
The generated mesh.
Parameters
height Map
The heightmap image.
size
The size of the mesh in 3D space.