Mesh.Mesh

Mesh()

Initializes a new instance of the Mesh class.

public Mesh()

See Also


Mesh(TextureData)

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(TextureData heightMap)
ParameterTypeDescription
heightMapTextureDataInput height map

See Also


Mesh(TextureData, Matrix4)

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(TextureData heightMap, Matrix4 transform)
ParameterTypeDescription
heightMapTextureDataInput height map
transformMatrix4The transform that applied on the control points

See Also


Mesh(TextureData, bool, Matrix4)

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(TextureData heightMap, bool triMesh, Matrix4 transform)
ParameterTypeDescription
heightMapTextureDataInput height map
triMeshBoolean
transformMatrix4The transform that applied on the control points

See Also


Mesh(string)

Initializes a new instance of the Mesh class.

public Mesh(string name)
ParameterTypeDescription
nameStringName.

See Also