|
HeightMapMesh3DCreateHeightTexture(Double, Double, Double, LinearGradientBrush) Method |
Returns a bitmap that represent a two dimensional texture created from the height data and specified gradient.
Namespace: Ab3d.MeshesAssembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax public static WriteableBitmap CreateHeightTexture(
double[,] data,
double minValue,
double maxValue,
LinearGradientBrush gradient
)
Parameters
- data Double
- two dimensional array of height data
- minValue Double
- minimum value in the data
- maxValue Double
- maximum value in the data
- gradient LinearGradientBrush
- LinearGradientBrush that defines the colors used in the texture
Return Value
WriteableBitmapbitmap that represent a texture created from the height data and with specified gradient.
See Also