RenderWare V2.1

Previous Page Index Next Page

RwUV *

RwGetClumpVertexUV(RwClump *clump, RwInt32 index, RwUV *uv);

Description

Retrieves the texture (U, V) coordinates of the vertex which belongs to clump and has vertex index index.

Arguments

clump Pointer to the clump.

index The vertex index.

uv Pointer to the RwUV structure that will receive the texture coordinates of the vertex.

Return Value

The argument uv if successful, and NULL otherwise.

Comments

The vertex index must be an integer greater than 0 and less than or equal to the number of vertices that belong to the clump.

See Also

RwCubicTexturizeClump()

RwEnvMapClump()

RwGetClumpVertex()

RwGetClumpVertexNormal()

RwSetClumpVertexUV()

RwSetPolygonUV()

RwSphericalTexturizeClump()

RwVertexExt()