RenderWare V2.1

Previous Page Index Next Page

RwPolygon3d *

RwFindTaggedPolygon(RwClump *clump, RwInt32 tag);

Description

Looks for the polygon with the specified tag in the polygon list of clump.

Arguments

clump Pointer to the clump.

tag Integer tag to find (only the 16 least significant bits are valid).

Return Value

A pointer to the polygon found if the search was successful, and NULL if the search failed or if any errors occurred. Errors can be checked for using RwGetError().

See Also

RwForAllPolygonsInClump()

RwFindTaggedClump()

RwGetError()

RwGetPolygonTag()

RwPolygonExt()

RwQuadExt()

RwSetPolygonTag()

RwTriangleExt()