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 |