RenderWare V2.1

Previous Page Index Next Page

RwPolygon3d *

RwSetPolygonUV(RwPolygon3d *polygon, RwUV *uvarray);

Description

Sets the texture (U, V) coordinates for the polygon’s vertices.

Arguments

polygon Pointer to the polygon.

uvarray Pointer to an array of RwUV structures.

Return Value

The argument polygon if successful, and NULL otherwise.

Comments

Note that the array uvarray must be large enough to accommodate the texture coordinates of all of the polygon‘s vertices.

See Also

RwCubicTexturizeClump()

RwEnvMapClump()

RwGetClumpVertexUV()

RwGetPolygonNumSides()

RwGetPolygonUV()

RwSetClumpVertexUV()

RwSphericalTexturizeClump()

RwVertexExt()