hgeDistortionMesh::GetDisplacement
Returns displacement of the specified distortion node.
void GetDisplacement(
int col,
int row,
float *dx,
float *dy,
int ref
);
Parameters
- col
- Column of the mesh node. The numeration starts from 0.
- row
- Row of the mesh node. The numeration starts from 0.
- dx
- Pointer to a float to store X-axis displacement to.
- dy
- Pointer to a float to store Y-axis displacement to.
- ref
- The displacement reference point. Should be one of these:
HGEDISP_NODE - the reference point is the default node position
HGEDISP_TOPLEFT - the reference point is the top-left corner of the mesh
HGEDISP_CENTER - the reference point is the center of the mesh
Requirements
Header: hgedistort.h
Import library: hgehelp.lib
See also
SetDisplacement,
GetZ,
GetColor
|