hgeDistortionMesh::Clear

Clears the displacements and coloring of the mesh.

void Clear(
  DWORD color = 0xFFFFFFFF,
  float z = 0.5f
);

Parameters

color
An ARGB color value to which all the mesh nodes should be set. If omitted, 0xFFFFFFFF is used.
z
Z-order value to which all the mesh nodes should be set. If omitted, 0.5f is used.

Requirements

Header: hgedistort.h
Import library: hgehelp.lib

See also

Hardware color format