Class FaceSmooth

3DS Max Plug-In SDK

Class FaceSmooth

See Also: Class Mesh, Class Face, Class Point3.

class FaceSmooth

Description:

This class is available in release 3.0 and later only.

This class represents the notion of the edit mesh Face Smooth operation. This updates the smoothing group infomation in the face.

Data Members:

public:

DWORD f

The face to change. This is a zero based index into the Mesh's faces array.

DWORD mask

The mask into the face of the smoothing groups.

DWORD val;

The smoothing group information to store.

Methods:

public:

Prototype:

FaceSmooth();

Remarks:

Constructor. The flags and f are set to 0.

Prototype:

FaceSmooth(DWORD ff, DWORD mk, DWORD vl);

Remarks:

Constructor. The data members are initalized to the values passed.

Prototype:

void Apply(Face &ff);

Remarks:

Applies this smoothing change to the given face.

Parameters:

Face &ff

The face to update.

Prototype:

void Apply(FaceSmooth &fs);

Remarks:

Assigns the flags and val to the given FaceSmooth object from this one.

Parameters:

FaceSmooth &fs

The FaceSmooth object to alter.