DpUpdVarTriangleMeshUVW(3D)

NAME
DpUpdVarTriangleMeshUVW - Update the uvw texture coordinates of a variable triangle mesh primitive object

SYNOPSIS
C:
void DpUpdVarTriangleMeshUVW(object,
		uvwindex, uvwlist)
DtObject object;
DtInt uvwindex;
DtReal uvwlist[];

FORTRAN:
CALL DPUTMW(OBJECT, UVWIDX, UVWLIST)
INTEGER*4 OBJECT
INTEGER*4 UVWIDX
REAL*8 UVWLIST(*)

DESCRIPTION
DpUpdVarTriangleMeshUVW updates one set of uvw texture coordinates of a variable triangle mesh primitive object.

The parameter object is the handle to the variable triangle mesh object.

The parameter uvwindex specifies which set of uvw coordinates is being updated. Note that the uvw texture coordinates of a vertex are numbered from 0. To add a new set of uvw coordinates to the vertex data of an object, set the uvwindex to point to the next available slot. For example, for objects that do not have any uvw coordinates, a uvwindex of 0 will create the initial set.

The parameter uvwlist contains the new uvw coordinates, one for every vertex of the variable triangle mesh object. As with other variable vertex data, Dore does not make a copy of the uvw coordinates. It simply maintains pointers to the data in user space.

ERRORS
DpUpdVarTriangleMeshUVW will fail if an invalid object is specified.

[WARNING - invalid or deleted object]

DpUpdVarTriangleMeshUVW will fail if uvwindex is less than 0 or greater than the next available slot for uvw coordinates.

[WARNING - value out of range]

SEE ALSO
DoVarTriangleMesh(3D), DpUpdVarTriangleMeshUV(3D)