|
||
MESH_NODE |
||||||||||||||||||||||
Structure |
A primitive-level data type that stores the data associated with a SilverScreen Bezier Mesh Surface.
struct MESH_NODE : PRIM_NODE { SURFACE_NODE *sn; RGB surface_rgb; int surface_pattern_number; USINT mesh_width_style; RGB mesh_rgb; int rows; int cols; PATCH_NODE **index; TEXTURE_DATA *texture; };
|
|||||||||||||||||||||
Members |
|
|||||||||||||||||||||
Remarks |
To access a particular patch given a row and column index that are in range, you would do the following:
PATCH_NODE *patch;
if ( pmesh && pmesh->index && (pmesh rows + pmesh->cols) ) patch = pmesh->index[row * pmesh->cols + column];
|
|
||||||||||||||||||||
See Also |
|
|||||||||||||||||||||
Header |
silver.h, ssnodes.h |