|
HeightMapMesh3DCreateHeightTexture(Double, UInt32) Method |
Returns a bitmap that represent a two dimensional texture created from the height data and specified array of colors (as uint).
Namespace: Ab3d.MeshesAssembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax public static WriteableBitmap CreateHeightTexture(
double[,] data,
uint[] gradientColorsArray
)
Parameters
- data Double
- two dimensional array of height data
- gradientColorsArray UInt32
- array of colors (each color is one uint). The first element in array is used for minValue, the last element is used for maxValue.
Return Value
WriteableBitmapbitmap that represent a texture created from the height data and with specified array of colors.
See Also