|
virtual BOOL | BeginCreate (ClassDesc *cd, int flags=0)=0 |
| Used for implementing a custom creation manager. More...
|
|
virtual void | SetNodeTM (INode *n, Matrix3 m)=0 |
|
virtual void | ParamBlockSetValue (ParamBlock *pb, int i, BYTE type,...)=0 |
|
virtual void | ParamBlock2SetValue (IParamBlock2 *pb, int i, int tabIndex, BYTE type,...)=0 |
|
virtual void | ParamBlock2SetCount (IParamBlock2 *pb, int i, int n)=0 |
|
virtual void | SetProperty (ReferenceTarget *targ, const MCHAR *prop_name, BYTE type,...)=0 |
| Provides a simple way to emit a property assignment script. More...
|
|
virtual void | SetCopy (ReferenceTarget *to_copy)=0 |
| Used to signal that an mr_reftarg argument in the currently accumulating script should be emitted as a copy. More...
|
|
virtual void | SetSelProperty (const MCHAR *prop_name, BYTE type,...)=0 |
| Provides a simple way to emit a property assignment script for the current selection set. More...
|
|
virtual void | FunctionCall (const MCHAR *op_name, int arg_count, int keyarg_count,...)=0 |
| Used to build a MAXScript function call. More...
|
|
virtual void | ScriptString (const MCHAR *s)=0 |
| Emits a piece of macro script as a literal string. More...
|
|
virtual void | Assign (const MCHAR *var_name, BYTE type,...)=0 |
| Called to emit script to record the assignment to a MAXScript variable. More...
|
|
virtual void | Assign (BYTE type,...)=0 |
|
virtual void | OpAssign (const MCHAR *op, BYTE type,...)=0 |
|
virtual void | OperandSequence (int count, BYTE type,...)=0 |
|
virtual BOOL | BeginSelectNode ()=0 |
|
virtual void | Select (INode *)=0 |
|
virtual void | DeSelect (INode *)=0 |
|
virtual void | MAXCommand (int com)=0 |
|
virtual void | AddComment (const MCHAR *str)=0 |
|
virtual void | Cancel ()=0 |
| Cancels and clears the currently accumulating script. More...
|
|
virtual void | EmitScript ()=0 |
| Signals the completion of an accumulating script, causing it to be frozen in the recorder pane and any new calls that might have been folded into the current script will cause a new one to be started. More...
|
|
virtual MSTR | GetSubMtlPropName (Mtl *m, int i)=0 |
| Returns the property name of the 'i-th' sub-material of the specified material. More...
|
|
virtual MSTR | GetSubTexmapPropName (ReferenceTarget *m, int i)=0 |
| Returns the property name of the 'i-th' sub-texmap of the specified material. More...
|
|
virtual void | Enable ()=0 |
| Enables the Macro Recorder. More...
|
|
virtual void | Disable ()=0 |
| Disables the Macro Recorder. More...
|
|
virtual BOOL | Enabled ()=0 |
| Returns true if the Macro Recorder is enabled (via Enable() ), false otherwise. More...
|
|
virtual BOOL | SuperEnable ()=0 |
| Super enable and option controls. More...
|
|
virtual void | SuperEnable (BOOL onOff)=0 |
| In the MAXScript Listener Window Macro Recorder pull-down menu choice is an option to enable or disable the Macro Recorder. More...
|
|
virtual BOOL | ShowCommandPanelSwitch ()=0 |
| Returns TRUE if code is emitted when command panels are changed; FALSE if code is not emitted. More...
|
|
virtual void | ShowCommandPanelSwitch (BOOL onOff)=0 |
| Determines if the macro recorder will emit script for command panel mode changes. More...
|
|
virtual BOOL | ShowToolSelections ()=0 |
| Returns true if the macro recorder will emit script for 3ds Max toolbar tool selections, false otherwise. More...
|
|
virtual void | ShowToolSelections (BOOL onOff)=0 |
| Determines if the macro recorder will emit script for 3ds Max toolbar selections. More...
|
|
virtual BOOL | ShowMenuSelections ()=0 |
| Returns true if the macro recorder will emit script for 3ds Max menu selections, false otherwise. More...
|
|
virtual void | ShowMenuSelections (BOOL onOff)=0 |
| Determines if the macro recorder will emit script for 3ds Max menu selections. More...
|
|
virtual BOOL | EmitAbsoluteSceneNames ()=0 |
| Returns true if specific node names are used in the generated code false, if the current selection is used. More...
|
|
virtual void | EmitAbsoluteSceneNames (BOOL onOff)=0 |
| Controls whether the code generated refers to the exact node names being operated or or simply the current selection. More...
|
|
virtual BOOL | EmitAbsoluteSubObjects ()=0 |
| Returns true if recording absolute sub-object numbers, false if using the selection set. More...
|
|
virtual void | EmitAbsoluteSubObjects (BOOL onOff)=0 |
| Determines if code generated is relative to the current sub-object selection state or if explicit sub-object numbers are generated. More...
|
|
virtual BOOL | EmitAbsoluteTransforms ()=0 |
| Tells if the code is generated using absolute transform assignments. More...
|
|
virtual void | EmitAbsoluteTransforms (BOOL onOff)=0 |
| Sets if code is generated using absolute transform assignments. More...
|
|
UtilExport BaseInterface * | GetInterface (Interface_ID id) override |
|
virtual UtilExport int | NumInterfaces () const |
|
virtual UtilExport BaseInterface * | GetInterfaceAt (int i) const |
|
virtual UtilExport | ~BaseInterfaceServer () |
|
virtual UtilExport | ~InterfaceServer () |
| Destructor. More...
|
|
template<class InterfaceType > |
InterfaceType * | GetTypedInterface () |
|
|
static UtilExport void * | operator new (size_t size) |
| Standard new operator used to allocate objects If there is insufficient memory, an exception will be thrown. More...
|
|
static UtilExport void * | operator new (size_t size, const std::nothrow_t &e) |
| Standard new operator used to allocate objects if there is insufficient memory, NULL will be returned. More...
|
|
static UtilExport void * | operator new (size_t size, const char *filename, int line) |
| New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
|
|
static UtilExport void * | operator new (size_t size, int block_type, const char *filename, int line) |
| New operator used to allocate objects that takes the type of memory, filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
|
|
static UtilExport void * | operator new (size_t size, const std::nothrow_t &e, const char *filename, int line) |
| New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, NULL will be returned. More...
|
|
static UtilExport void * | operator new (size_t size, unsigned long flags) |
| New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, an exception will be thrown. More...
|
|
static UtilExport void * | operator new (size_t size, const std::nothrow_t &e, unsigned long flags) |
| New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, NULL will be returned. More...
|
|
static UtilExport void * | operator new[] (size_t size) |
| New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
|
|
static UtilExport void * | operator new[] (size_t size, const std::nothrow_t &e) |
| New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
|
|
static UtilExport void * | operator new[] (size_t size, const char *filename, int line) |
| New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
|
|
static UtilExport void * | operator new[] (size_t size, int block_type, const char *filename, int line) |
| New operator used to allocate arrays of objects. More...
|
|
static UtilExport void * | operator new[] (size_t size, const std::nothrow_t &e, const char *filename, int line) |
| New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
|
|
static UtilExport void * | operator new[] (size_t size, unsigned long flags) |
| New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
|
|
static UtilExport void * | operator new[] (size_t size, const std::nothrow_t &e, unsigned long flags) |
| New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
|
|
static UtilExport void | operator delete (void *ptr) |
| Standard delete operator used to deallocate an object If the pointer is invalid, an exception will be thrown. More...
|
|
static UtilExport void | operator delete (void *ptr, const std::nothrow_t &e) |
| Standard delete operator used to deallocate an object If the pointer is invalid, nothing will happen. More...
|
|
static UtilExport void | operator delete (void *ptr, const char *filename, int line) |
| Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
|
|
static UtilExport void | operator delete (void *ptr, int block_type, const char *filename, int line) |
| Delete operator used to deallocate an object that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
|
|
static UtilExport void | operator delete (void *ptr, const std::nothrow_t &e, const char *filename, int line) |
| Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
|
|
static UtilExport void | operator delete (void *ptr, unsigned long flags) |
| Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
|
|
static UtilExport void | operator delete (void *ptr, const std::nothrow_t &e, unsigned long flags) |
| Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, nothing will happen. More...
|
|
static UtilExport void | operator delete[] (void *ptr) |
| Standard delete operator used to deallocate an array of objects If the pointer is invalid, an exception will be thrown. More...
|
|
static UtilExport void | operator delete[] (void *ptr, const std::nothrow_t &e) |
| Standard delete operator used to deallocate an array of objects If the pointer is invalid, nothing will happen. More...
|
|
static UtilExport void | operator delete[] (void *ptr, const char *filename, int line) |
| Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
|
|
static UtilExport void | operator delete[] (void *ptr, int block_type, const char *filename, int line) |
| Delete operator used to deallocate an array of objects that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
|
|
static UtilExport void | operator delete[] (void *ptr, const std::nothrow_t &e, const char *filename, int line) |
| Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
|
|
static UtilExport void | operator delete[] (void *ptr, unsigned long flags) |
| Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
|
|
static UtilExport void | operator delete[] (void *ptr, const std::nothrow_t &e, unsigned long flags) |
| Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
|
|
static UtilExport void * | operator new (size_t size, void *placement_ptr) |
| Placement new operator. More...
|
|
static UtilExport void | operator delete (void *ptr, void *placement_ptr) |
| Placement delete operator. More...
|
|
static UtilExport void * | aligned_malloc (size_t size, size_t alignment) |
| Allocates memory on a specified alignment boundary. More...
|
|
static UtilExport void * | aligned_realloc (void *ptr, size_t size, size_t alignment) |
| Reallocates memory on a specified alignment boundary. More...
|
|
static UtilExport void | aligned_free (void *ptr) |
| Frees a block of memory that was allocated with aligned_malloc/aligned_realloc. More...
|
|
Tab< BaseInterface * > | interfaces |
|
Provides various methods to emit pieces of script to the Macro Recorder.
There are also methods to specify the nature of the scripts generated by the user operating 3ds Max. Additionally there are methods to enable or disable the recording of scripts. This class may be used by plug-ins but is also used internally as part of the 3ds Max Macro Recorder. Inside key areas of 3ds Max macro scripts are emitted corresponding to the operation being performed. For example when a call goes to a parameter block to set a value 3ds Max internally call this classes method ParamBlock2SetValue(...) to emit script to record the change. Thus, many operations a plug-in performs are recorded automatically. There are however operations a plug-in can perform which won't be recorded automatically. In these cases methods of this class may be used to emit script to record these operations. Several of the functions in this class use an ellipsis argument (...). This ellipsis is the var-args style of passing information to a method. This allows a developer to pass a variable number of values to the method. These are typically a set of tag values followed by some C++ types. The sample code shown with many of the methods shows how this is done. For a starting point for more general information on variable argument lists see va_arg in the Window help file. An instance of the MacroRecorder can be retrieved using the function Interface::GetMacroRecorder().
- See also
- ClassDesc, INode, IParamBlock, IParamBlock2, Matrix3, ReferenceTarget.