Class PatchTVert

3DS Max Plug-In SDK

Class PatchTVert

See Also: Class PatchMesh, Template Class Tab, Working with Patches.

Description:

This class is available in release 4.0 and later only.

This class stores the texture vertex information associated with a patch and provides methods to access this. All methods of this class are implemented by the system.

Data Members:

public:

UVVert p;

The texture vertex location.

int aux1;

Used to track topology changes during editing (Edit Patch).

Methods:

Prototype:

PatchVert();

Remarks:

Constructor. The UVVert is set to 0,0,0. The aux member is set to -1.

Prototype:

PatchTVert(float u, float v, float w);

Remarks:

Constructor. The UVVert is set to the provided uvw parameters passed to the method. The aux member is set to -1.

Parameters:

float u, float v, float w;

The u, v, and w values for the texture vertex.

Operators:

Prototype:

PatchTVert& operator=(cont UVVert& from);

Remarks:

Assignment operator.

Parameters:

UVVert& from

The texture vertex to copy from.

Prototype:

operator UVVert&()

Remarks:

Conversion operator. Returns a reference to UVVert p.