hgeDistortionMesh::SetColor
Sets color and alpha for the specified distortion node.
void SetColor(
int col,
int row,
DWORD color
);
Parameters
- col
- Column of the node to be changed. The numeration starts from 0.
- row
- Row of the node to be changed. The numeration starts from 0.
- color
- The new color value.
Remarks
The color parameter includes alpha value. See the
Hardware color format
section for details.
The way the color is applied to the texture data depends on the blending mode.
See Blending modes for more information.
Requirements
Header: hgedistort.h
Import library: hgehelp.lib
See also
GetColor,
SetZ,
SetDisplacement,
SetBlendMode,
Hardware color format
|