Click or drag to resize
Ab4d.SharpEngine logo

HeightMapSurfaceNode Methods

The HeightMapSurfaceNode type exposes the following members.

Methods
 NameDescription
Public methodStatic memberCreateHeightDataFromImageData CreateHeightDataFromImageData method creates a two dimensional array from the specified imageData that can be used for the HeightData property. The supported image formats are R8G8B8A8Unorm, B8G8R8A8Unorm (32 bit where height value is average value of red, green and blue color values) and R8Unorm (8 bit grayscale).
Public methodStatic memberCreateHeightMapSurfaceMesh 
Protected methodOnUpdate
(Overrides ModelNodeOnUpdate)
Protected methodUpdateMesh UpdateMesh method recreates the mesh based on the current object properties. The method should be overriden in the derived class that provides its own mesh generation.
(Overrides ModelNodeUpdateMesh)
Top
See Also