Height |
public class HeightMapMesh3D : IMesh3D
The HeightMapMesh3D type exposes the following members.
Name | Description | |
---|---|---|
HeightMapMesh3D | Constructor |
Name | Description | |
---|---|---|
CreateGradientTexture | CreateGradientTexture returns a a one dimensional texture textureWidth x 1 pixel) created from the specified gradient. | |
CreateHeightTexture(Double, UInt32) | Returns a bitmap that represent a two dimensional texture created from the height data and specified array of colors (as uint). | |
CreateHeightTexture(Double, LinearGradientBrush) | Returns a bitmap that represent a two dimensional texture created from the height data and specified gradient. | |
CreateHeightTexture(Double, Double, Double, UInt32) | Returns a bitmap that represent a two dimensional texture created from the height data and specified array of colors (as uint). | |
CreateHeightTexture(Double, Double, Double, LinearGradientBrush) | Returns a bitmap that represent a two dimensional texture created from the height data and specified gradient. | |
GetDataMinAndMaxValue | GetDataMinAndMaxValue method sets the minValue and maxValue from all the values in the data array. | |
GetGradientColorsArray | Returns an array array of Color values from the specified gradient (as LinearGradientBrush) and with array count (number of elements in array). | |
GetGradientColorsUIntArray | Returns an array array of uint values that represent colors. The array is created from the specified gradient (as LinearGradientBrush) and with array count (number of elements in array). | |
GetWireframePositions | Returns a list of Point3D that represent the positions that can be used to create multi-line to show wireframe. | |
SetCustomMinMaxValues | Sets custom min and max values that can be used when setting texture coordinates based on height values (when useHeightValuesAsTextureCoordinates is true). If this method is not called, then the min and max values for the actual data are used. | |
UpdateHeight | Updates the height map with the new height data. The dimensions of the new height data array must be the same as the array used in the constructor. |