|
HeightMapMesh3D Constructor |
Constructor
Namespace: Ab3d.MeshesAssembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax public HeightMapMesh3D(
Point3D centerPosition,
Size3D size,
double[,] heightData,
bool useHeightValuesAsTextureCoordinates = false
)
Parameters
- centerPosition Point3D
- center position of the plane
- size Size3D
- size of HeightMapMesh3D. Note that size.Y is used to scale the data values.
- heightData Double
- two dimensional array of double values that are used to represent height map
- useHeightValuesAsTextureCoordinates Boolean (Optional)
- when true, then height values are used for texture coordinates; when false (by default) then texture coordinates are generated as fraction of x and y position
See Also