Class DOFParams

3DS Max Plug-In SDK

Class DOFParams

See Also: Class Control.

class DOFParams

Description:

This class is available in release 2.0 and later only.

This structure is passed to the method Control::GetDOFParams(). Controllers that support IK can provide information about their Degree Of Freedoms (DOFs) so that bones can display this information. The first 3 DOFs are assumed to be position and the next 3 are assumed to be rotation

Data Members:

public:

BOOL display[6];

Indicates if this DOF should be displayed.

Point3 axis[6];

Specifies the DOF axis.

Point3 pos[6];

Specifies the base of the axis.

BOOL limit[6];

Indicates if the joint is limited at all.

float min[6];

Specifies the minimum limit.

float max[6];

Specifies the maximum limit.

float curval[6];

Specifies the current value of the parameter.

BOOL sel[6];

Indicates if the DOF should be highlighted.

BOOL endEffector;

Indicates if there is an end effector for this controller.

Matrix3 eeTM;

Specifies the world transformation matrix of the end effector (if present).