DpUpdVarQuadGridUV(3D)

NAME
DpUpdVarQuadGridUV - Update the uv texture coordinates of a variable quadrilateral grid primitive object

SYNOPSIS
C:
void DpUpdVarQuadGridUV(object, uvindex, uvlist)
DtObject object;
DtInt uvindex;
DtReal uvlist[];

FORTRAN:
CALL DPUQGV(OBJECT, UVIDX, UVLIST)
INTEGER*4 OBJECT
INTEGER*4 UVIDX
REAL*8 UVLIST(*)

DESCRIPTION
DpUpdVarQuadGridUV updates one set of uv texture coordinates of a variable quadrilateral grid primitive object.

The parameter object is the handle to the variable quadrilateral grid object.

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

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

ERRORS
DpUpdVarQuadGridUV will fail if an invalid object is specified.

[WARNING - invalid or deleted object]

DpUpdVarQuadGridUV will fail if uvindex is less than 0 or greater than the next available slot for uv coordinates.

[WARNING - value out of range]

SEE ALSO
DoVarQuadGrid(3D), DpUpdVarQuadGridUVW(3D)