Share

Parameter Specification Arguments

A parameter specification is the sequence of arguments used in a ParamBlockDesc2 constructor or the ParamBlockDesc2::AddParam() method to describe a particular parameter. A parameter specification is required in the ParamBlockDesc2 constructor for each of the parameters.

  • ParamID - The permanent, position-independent ID for the parameter.
  • MCHAR* - The internal name for the parameter. This is the name that is used in MAXScript to identify the parameter.
  • ParamType - The type of parameter. See the list of Parameter Types.
  • [int] - If the type is one of the Tab<> types, you need to supply an initial table size which can be 0.
  • int - The parameter specific flag bits. This should be a bit-wise OR of one of the flags listed in the topic Parameter Flags.
  • int - An ID for a string resource representing the localized name for the parameter.
  • [ParamTag ...] - A list of optional tags and additional values. See Parameter Tags.
  • p_end - The p_end value is a ParamTag that indicates the end of the parameter specification section.

Was this information helpful?