Mesh

Mesh constructor (1 of 5)

Initializes a new instance of the Mesh class.

public Mesh()

See Also


Mesh constructor (2 of 5)

Construct a mesh using specified height map, if the height map’s pixel format contains multiple components, the first(usually the red) component will be used as the height value(z) The control point’s x and y components are normalized pixel coordinate.

public Mesh(Bitmap heightMap)
Parameter Type Description
heightMap Bitmap Input height map

See Also


Mesh constructor (3 of 5)

Construct a mesh using specified height map, if the height map’s pixel format contains multiple components, the first(usually the red) component will be used as the height value(z) The control point’s x and y components are normalized pixel coordinate.

public Mesh(Bitmap heightMap, Matrix4 transform)
Parameter Type Description
heightMap Bitmap Input height map
transform Matrix4 The transform that applied on the control points

See Also


Mesh constructor (4 of 5)

Construct a mesh using specified height map, if the height map’s pixel format contains multiple components, the first(usually the red) component will be used as the height value(z) The control point’s x and y components are normalized pixel coordinate.

public Mesh(Bitmap heightMap, bool triMesh, Matrix4 transform)
Parameter Type Description
heightMap Bitmap Input height map
triMesh Boolean
transform Matrix4 The transform that applied on the control points

See Also


Mesh constructor (5 of 5)

Initializes a new instance of the Mesh class.

public Mesh(string name)
Parameter Type Description
name String Name.

See Also