maxscript/mxsplugin/mxsPlugin.h File Reference

Classes

class  ParamRef
 

Macros

#define is_msplugin_class(v)   ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(MSPluginClass))
 
#define MPC_TEMPORARY   (1<<0)
 
#define MPC_REDEFINITION   (1<<1)
 
#define MPC_MS_CREATING   (1<<2)
 
#define MPC_MS_WAS_CREATING   (1<<3)
 
#define MPC_EDITING_IN_CP   (1<<4)
 
#define MPC_EDITING_IN_MTLEDT   (1<<5)
 
#define MPC_EDITING_IN_EFX   (1<<6)
 
#define MPC_REPLACE_UI   (1<<7)
 
#define MPC_INVISIBLE   (1<<8)
 
#define MPC_SILENTERRORS   (1<<9)
 
#define MPC_MAX_CREATING   (1<<10)
 
#define MPC_ABORT_CREATE   (1<<11)
 
#define MPC_LEVEL_6   (1<<12)
 
#define MPC_IS_MANIP   (1<<13)
 
#define MPC_ALTERNATE   (1<<14)
 
#define MPC_CAD_FILESAVE   (1<<15)
 
#define MPC_PROMOTE_DEL_PROPS   (1<<16)
 
#define MPC_USE_PB_VALIDITY   (1<<17)
 
#define MPC_CAD_FILELOAD_LOADDEFDATA   (1<<18)
 
#define key_parm(_key)   _get_key_param(keys, n_##_key)
 
#define MSP_LOADING   0x0001
 
#define MSP_DISABLED   0x0002
 
#define MSP_DELETED   0x0004
 
#define MSPLUGIN_CHUNK   0x0010
 

Typedefs

typedef RefTargetHandle(* creator_fn) (MSPluginClass *pic, BOOL loading)
 

Enumerations

enum  { pl_this, pl_version, pl_loading, pl_delegate }
 
enum  { pl_extent = pl_delegate + 1, pl_min, pl_max, pl_center }
 
enum  {
  pl_mesh2 = pl_center + 1, pl_transform, pl_inverseTransform, pl_bbox,
  pl_owningNode
}
 
enum  { pl_mesh = pl_delegate + 1 }
 
enum  {
  pl_target = pl_delegate + 1, pl_node, pl_gizmoDontDisplay, pl_gizmoDontHitTest,
  pl_gizmoScaleToViewport, pl_gizmoUseScreenSpace, pl_gizmoActiveViewportOnly, pl_gizmoUseRelativeScreenSpace
}
 

Macro Definition Documentation

#define is_msplugin_class (   v)    ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(MSPluginClass))
#define MPC_TEMPORARY   (1<<0)
#define MPC_REDEFINITION   (1<<1)
#define MPC_MS_CREATING   (1<<2)
#define MPC_MS_WAS_CREATING   (1<<3)
#define MPC_EDITING_IN_CP   (1<<4)
#define MPC_EDITING_IN_MTLEDT   (1<<5)
#define MPC_EDITING_IN_EFX   (1<<6)
#define MPC_REPLACE_UI   (1<<7)
#define MPC_INVISIBLE   (1<<8)
#define MPC_SILENTERRORS   (1<<9)
#define MPC_MAX_CREATING   (1<<10)
#define MPC_ABORT_CREATE   (1<<11)
#define MPC_LEVEL_6   (1<<12)
#define MPC_IS_MANIP   (1<<13)
#define MPC_ALTERNATE   (1<<14)
#define MPC_CAD_FILESAVE   (1<<15)
#define MPC_PROMOTE_DEL_PROPS   (1<<16)
#define MPC_USE_PB_VALIDITY   (1<<17)
#define MPC_CAD_FILELOAD_LOADDEFDATA   (1<<18)
#define key_parm (   _key)    _get_key_param(keys, n_##_key)
#define MSP_LOADING   0x0001
#define MSP_DISABLED   0x0002
#define MSP_DELETED   0x0004
#define MSPLUGIN_CHUNK   0x0010

Typedef Documentation

typedef RefTargetHandle(* creator_fn) (MSPluginClass *pic, BOOL loading)

Enumeration Type Documentation

anonymous enum
Enumerator
pl_this 
pl_version 
pl_loading 
pl_delegate 
73  {
75 };
Definition: mxsPlugin.h:74
Definition: mxsPlugin.h:74
Definition: mxsPlugin.h:74
Definition: mxsPlugin.h:74
anonymous enum
Enumerator
pl_extent 
pl_min 
pl_max 
pl_center 
77  {
78  pl_extent = pl_delegate + 1, pl_min, pl_max, pl_center // for SimpleMods
79 };
Definition: mxsPlugin.h:78
Definition: mxsPlugin.h:78
Definition: mxsPlugin.h:78
Definition: mxsPlugin.h:78
Definition: mxsPlugin.h:74
anonymous enum
Enumerator
pl_mesh2 
pl_transform 
pl_inverseTransform 
pl_bbox 
pl_owningNode 
81  {
83 };
Definition: mxsPlugin.h:82
Definition: mxsPlugin.h:82
Definition: mxsPlugin.h:82
Definition: mxsPlugin.h:82
Definition: mxsPlugin.h:82
Definition: mxsPlugin.h:78
anonymous enum
Enumerator
pl_mesh 
85  {
86  pl_mesh = pl_delegate + 1 // for SimpleObjects
87 };
Definition: mxsPlugin.h:86
Definition: mxsPlugin.h:74
anonymous enum
Enumerator
pl_target 
pl_node 
pl_gizmoDontDisplay 
pl_gizmoDontHitTest 
pl_gizmoScaleToViewport 
pl_gizmoUseScreenSpace 
pl_gizmoActiveViewportOnly 
pl_gizmoUseRelativeScreenSpace 
89  {
90  pl_target = pl_delegate + 1, pl_node, // for SimpleManipulators
93 };
Definition: mxsPlugin.h:91
Definition: mxsPlugin.h:92
Definition: mxsPlugin.h:91
Definition: mxsPlugin.h:92
Definition: mxsPlugin.h:92
Definition: mxsPlugin.h:91
Definition: mxsPlugin.h:90
Definition: mxsPlugin.h:74
Definition: mxsPlugin.h:90