Class: AxHeightMapGeometry

AxHeightMapGeometry(result, map, colorFilter, heightScaling)

new AxHeightMapGeometry(result, map, colorFilter, heightScaling)

Performs a height map modification to the given mesh, based on its normals and the given map The given mesh must have vertices with their position and normal set The position of the mesh's vertices is modified
Parameters:
Name Type Description
result AxDeviceMesh The mesh in which to create the heightmap
map AxImage The image from which to sample the height values
colorFilter AxVector4 The color filter to apply when sampling the height values.
heightScaling Number The height scaling factor
Source:

Documentation generated by JSDoc 3.5.3 on Mon Feb 19 2018 20:39:26 GMT+0200 (FLE Standard Time)