Class MeshOpProgress

3DS Max Plug-In SDK

Class MeshOpProgress

See Also: Class Mesh.

class MeshOpProgress

Description:

A callback used while doing a lengthy operation to a mesh. A developer creates an instance of this class and passes a pointer to it into the CalcBoolOp() or Optimize() function.

Methods:

Prototype:

virtual void Init(int total)=0;

Remarks:

Implemented by the Plug-In.

This method is called once with the total number of increments.

Parameters:

int total

The total number of increments.

Prototype:

virtual BOOL Progress(int p)=0;

Implemented by the Plug-In.

This method is called over and over with a new value for p. The percentage complete is p/total.

Parameters:

int p

The number completed so far.

Return Value:

If TRUE processing will continue. If FALSE processing is aborted.