Class FPPropDef

3DS Max Plug-In SDK

Class FPPropDef

See Also: Class FPParamOptions, List of Param Type Choices

class FPPropDef

Description:

This class is available in release 4.0 and later only.

The 'properties' section follows the function definitions. Each propery has a single entry defining the function IDs for the getter and setter functions, a fixed internal property name, a descriptor string resource ID and the property type. If the property is read-only and there is no setter function, specify FP_NO_FUNCTION for the setter ID.

Data Members:

public:

FunctionID getter_ID;

The interface-local ID for getter method.

FunctionID setter_ID;

The interface-local ID for setter method.

TSTR internal_name;

The fixed, internal name.

StringResID description;

The description string resource ID.

USHORT flags;

The flag bits.

ParamType2 prop_type;

The property type.

EnumID enumID;

The ID of symbolic enumeration in owning interface if any.

FPParamOptions* options;

Present if non-NULL, used for setter param.

Methods:

public:

Prototype:

FPPropDef();

Remarks:

Constructor. The data members are initialized as follows:

flags = 0; description = 0; getter_ID = setter_ID = FPS_NO_SUCH_FUNCTION; enumID = FP_NO_ENUM; options = NULL;