This reference page is linked to from the following overview topics: MAXScript Extension Plug-ins, Plug-in Base Classes.
#include <mxsPlugin.h>
Public Member Functions |
|
MSPlugin () | |
virtual | ~MSPlugin () |
void | init (MSPluginClass *pc) |
ScripterExport void | gc_trace () |
ScripterExport void | collect () |
void | DeleteThis () |
ScripterExport void | RefDeleted () |
void | init_locals () |
void | call_handler (Value *handler, Value **arg_list, int count, TimeValue t, BOOL disable_on_error=FALSE) |
Value * | _call_handler (Value *handler, Value **arg_list, int count, TimeValue t, BOOL disable_on_error=FALSE) |
FPStatus | call_handler (MCHAR *handler_name, FPParams *params, FPValue &result, TimeValue t, BOOL disable_on_error=FALSE) |
FPStatus | call_handler (Value *handler, FPParams *params, FPValue &result, TimeValue t, BOOL disable_on_error=FALSE) |
void | post_create (ReferenceTarget *me, BOOL loading) |
void | call_all_set_handlers () |
void | disable () |
void | enable () |
BOOL | enabled () |
int | get_local_index (Value *prop) |
Value * | get_local (int index) |
void | set_local (int index, Value *val) |
ScripterExport IParamBlock2 * | GetParamBlockByID (BlockID id) |
virtual HWND | AddRollupPage (HINSTANCE hInst, MCHAR *dlgTemplate, DLGPROC dlgProc, MCHAR *title, LPARAM param=0, DWORD flags=0, int category=ROLLUP_CAT_STANDARD)=0 |
virtual void | DeleteRollupPage (HWND hRollup)=0 |
virtual IRollupWindow * | GetRollupWindow ()=0 |
ScripterExport RefResult | NotifyRefChanged (Interval changeInt, RefTargetHandle hTarget, PartID &partID, RefMessage message) |
ScripterExport RefTargetHandle | clone_from (MSPlugin *obj, ReferenceTarget *obj_as_ref, RemapDir &remap) |
void | RefAdded (RefMakerHandle rm) |
void | NotifyTarget (int msg, RefMakerHandle rm) |
virtual ReferenceTarget * | get_delegate ()=0 |
IOResult | Save (ISave *isave) |
IOResult | Load (ILoad *iload) |
void | post_load (ILoad *iload, int which) |
void | dump_local_vars_and_externals (int indentLevel) |
Public Attributes |
|
MSPluginClass * | pc |
Value ** | locals |
short | flags |
int | version |
ReferenceTarget * | ref |
Tab< IParamBlock2 * > | pblocks |
ILoad * | iload |
virtual ~MSPlugin | ( | ) | [virtual] |
void init | ( | MSPluginClass * | pc | ) |
ScripterExport void gc_trace | ( | ) | [virtual] |
Reimplemented from Collectable.
ScripterExport void collect | ( | ) | [virtual] |
Implements Collectable.
void DeleteThis | ( | ) |
Reimplemented in MSCustAttrib, MSPluginObject< TYPE >, MSPluginSimpleObject, MSSimpleObjectXtnd, MSPluginSimpleManipulator, MSPluginModifier, MSModifierXtnd, MSPluginSimpleMod, MSSimpleModXtnd, MSPluginTexmap, MSTexmapXtnd, MSPluginMtl, MSMtlXtnd, MSPluginSpecialFX< TYPE >, MSPluginTrackViewUtility, MSPluginObject< ShapeObject >, MSPluginObject< HelperObject >, MSPluginObject< GeomObject >, MSPluginObject< GenCamera >, MSPluginObject< GenLight >, MSObjectXtnd< GenCamera, MSPluginCamera >, MSObjectXtnd< HelperObject, MSPluginHelper >, MSObjectXtnd< GeomObject, MSPluginGeomObject >, MSObjectXtnd< ShapeObject, MSPluginShape >, MSObjectXtnd< GenLight, MSPluginLight >, MSPluginSpecialFX< Effect8 >, MSPluginSpecialFX< Atmospheric >, MSSpecialFXXtnd< Effect, MSPluginEffect >, and MSSpecialFXXtnd< Atmospheric, MSPluginAtmos >.
ScripterExport void RefDeleted | ( | ) |
Reimplemented in MSCustAttrib, MSPluginObject< TYPE >, MSPluginSimpleObject, MSPluginSimpleManipulator, MSPluginModifier, MSPluginSimpleMod, MSPluginTexmap, MSPluginMtl, MSPluginSpecialFX< TYPE >, MSPluginObject< ShapeObject >, MSPluginObject< HelperObject >, MSPluginObject< GeomObject >, MSPluginObject< GenCamera >, MSPluginObject< GenLight >, MSPluginSpecialFX< Effect8 >, and MSPluginSpecialFX< Atmospheric >.
void init_locals | ( | ) |
void post_create | ( | ReferenceTarget * | me, |
BOOL | loading | ||
) |
void call_all_set_handlers | ( | ) |
void disable | ( | ) | [inline] |
{ flags |= MSP_DISABLED; }
void enable | ( | ) | [inline] |
{ flags &= ~MSP_DISABLED; }
BOOL enabled | ( | ) | [inline] |
{ return !(flags & MSP_DISABLED); }
int get_local_index | ( | Value * | prop | ) |
ScripterExport IParamBlock2* GetParamBlockByID | ( | BlockID | id | ) |
Reimplemented in MSCustAttrib, MSPluginObject< TYPE >, MSPluginSimpleObject, MSSimpleObjectXtnd, MSPluginSimpleManipulator, MSSimpleManipulatorXtnd, MSPluginModifier, MSModifierXtnd, MSPluginSimpleMod, MSSimpleModXtnd, MSPluginTexmap, MSTexmapXtnd, MSPluginMtl, MSMtlXtnd, MSPluginSpecialFX< TYPE >, MSPluginTrackViewUtility, MSPluginObject< ShapeObject >, MSPluginObject< HelperObject >, MSPluginObject< GeomObject >, MSPluginObject< GenCamera >, MSPluginObject< GenLight >, MSObjectXtnd< GenCamera, MSPluginCamera >, MSObjectXtnd< HelperObject, MSPluginHelper >, MSObjectXtnd< GeomObject, MSPluginGeomObject >, MSObjectXtnd< ShapeObject, MSPluginShape >, MSObjectXtnd< GenLight, MSPluginLight >, MSPluginSpecialFX< Effect8 >, MSPluginSpecialFX< Atmospheric >, MSSpecialFXXtnd< Effect, MSPluginEffect >, and MSSpecialFXXtnd< Atmospheric, MSPluginAtmos >.
virtual HWND AddRollupPage | ( | HINSTANCE | hInst, |
MCHAR * | dlgTemplate, | ||
DLGPROC | dlgProc, | ||
MCHAR * | title, | ||
LPARAM | param = 0 , |
||
DWORD | flags = 0 , |
||
int | category =
ROLLUP_CAT_STANDARD |
||
) | [pure virtual] |
Implemented in MSCustAttrib, MSPluginObject< TYPE >, MSPluginSimpleObject, MSPluginSimpleManipulator, MSPluginModifier, MSPluginSimpleMod, MSPluginTexmap, MSPluginMtl, MSPluginSpecialFX< TYPE >, MSPluginTrackViewUtility, MSPluginObject< ShapeObject >, MSPluginObject< HelperObject >, MSPluginObject< GeomObject >, MSPluginObject< GenCamera >, MSPluginObject< GenLight >, MSPluginSpecialFX< Effect8 >, and MSPluginSpecialFX< Atmospheric >.
virtual void DeleteRollupPage | ( | HWND | hRollup | ) | [pure virtual] |
Implemented in MSCustAttrib, MSPluginObject< TYPE >, MSPluginSimpleObject, MSPluginSimpleManipulator, MSPluginModifier, MSPluginSimpleMod, MSPluginTexmap, MSPluginMtl, MSPluginSpecialFX< TYPE >, MSPluginTrackViewUtility, MSPluginObject< ShapeObject >, MSPluginObject< HelperObject >, MSPluginObject< GeomObject >, MSPluginObject< GenCamera >, MSPluginObject< GenLight >, MSPluginSpecialFX< Effect8 >, and MSPluginSpecialFX< Atmospheric >.
virtual IRollupWindow* GetRollupWindow | ( | ) | [pure virtual] |
Implemented in MSCustAttrib, MSPluginObject< TYPE >, MSPluginSimpleObject, MSPluginSimpleManipulator, MSPluginModifier, MSPluginSimpleMod, MSPluginTexmap, MSPluginMtl, MSPluginSpecialFX< TYPE >, MSPluginTrackViewUtility, MSPluginObject< ShapeObject >, MSPluginObject< HelperObject >, MSPluginObject< GeomObject >, MSPluginObject< GenCamera >, MSPluginObject< GenLight >, MSPluginSpecialFX< Effect8 >, and MSPluginSpecialFX< Atmospheric >.
ScripterExport RefResult NotifyRefChanged | ( | Interval | changeInt, |
RefTargetHandle | hTarget, | ||
PartID & | partID, | ||
RefMessage | message | ||
) |
Reimplemented in MSCustAttrib, MSPluginObject< TYPE >, MSPluginSimpleObject, MSPluginSimpleManipulator, MSPluginModifier, MSPluginSimpleMod, MSPluginTexmap, MSPluginMtl, MSPluginSpecialFX< TYPE >, MSPluginTrackViewUtility, MSPluginObject< ShapeObject >, MSPluginObject< HelperObject >, MSPluginObject< GeomObject >, MSPluginObject< GenCamera >, MSPluginObject< GenLight >, MSPluginSpecialFX< Effect8 >, and MSPluginSpecialFX< Atmospheric >.
ScripterExport RefTargetHandle clone_from | ( | MSPlugin * | obj, |
ReferenceTarget * | obj_as_ref, | ||
RemapDir & | remap | ||
) |
void RefAdded | ( | RefMakerHandle | rm | ) |
Reimplemented in MSPluginObject< TYPE >, MSPluginSimpleObject, MSPluginSimpleManipulator, MSPluginModifier, MSPluginSimpleMod, MSPluginTexmap, MSPluginMtl, MSPluginSpecialFX< TYPE >, MSPluginObject< ShapeObject >, MSPluginObject< HelperObject >, MSPluginObject< GeomObject >, MSPluginObject< GenCamera >, MSPluginObject< GenLight >, MSPluginSpecialFX< Effect8 >, and MSPluginSpecialFX< Atmospheric >.
void NotifyTarget | ( | int | msg, |
RefMakerHandle | rm | ||
) |
virtual ReferenceTarget* get_delegate | ( | ) | [pure virtual] |
Implemented in MSCustAttrib, MSPluginObject< TYPE >, MSPluginSimpleObject, MSSimpleObjectXtnd, MSPluginSimpleManipulator, MSSimpleManipulatorXtnd, MSPluginModifier, MSModifierXtnd, MSPluginSimpleMod, MSSimpleModXtnd, MSPluginTexmap, MSTexmapXtnd, MSPluginMtl, MSMtlXtnd, MSPluginSpecialFX< TYPE >, MSPluginTrackViewUtility, MSPluginObject< ShapeObject >, MSPluginObject< HelperObject >, MSPluginObject< GeomObject >, MSPluginObject< GenCamera >, MSPluginObject< GenLight >, MSObjectXtnd< GenCamera, MSPluginCamera >, MSObjectXtnd< HelperObject, MSPluginHelper >, MSObjectXtnd< GeomObject, MSPluginGeomObject >, MSObjectXtnd< ShapeObject, MSPluginShape >, MSObjectXtnd< GenLight, MSPluginLight >, MSPluginSpecialFX< Effect8 >, MSPluginSpecialFX< Atmospheric >, MSSpecialFXXtnd< Effect, MSPluginEffect >, and MSSpecialFXXtnd< Atmospheric, MSPluginAtmos >.
Reimplemented from Value.
Reimplemented in MSCustAttrib, MSPluginObject< TYPE >, MSPluginShape, MSShapeXtnd, MSPluginSimpleObject, MSPluginSimpleManipulator, MSPluginModifier, MSPluginSimpleMod, MSPluginTexmap, MSTexmapXtnd, MSPluginMtl, MSMtlXtnd, MSPluginSpecialFX< TYPE >, MSPluginObject< ShapeObject >, MSPluginObject< HelperObject >, MSPluginObject< GeomObject >, MSPluginObject< GenCamera >, MSPluginObject< GenLight >, MSPluginSpecialFX< Effect8 >, and MSPluginSpecialFX< Atmospheric >.
Reimplemented in MSCustAttrib, MSPluginObject< TYPE >, MSPluginShape, MSShapeXtnd, MSPluginSimpleObject, MSPluginSimpleManipulator, MSPluginModifier, MSPluginSimpleMod, MSPluginTexmap, MSTexmapXtnd, MSPluginMtl, MSMtlXtnd, MSPluginSpecialFX< TYPE >, MSPluginObject< ShapeObject >, MSPluginObject< HelperObject >, MSPluginObject< GeomObject >, MSPluginObject< GenCamera >, MSPluginObject< GenLight >, MSPluginSpecialFX< Effect8 >, and MSPluginSpecialFX< Atmospheric >.
void post_load | ( | ILoad * | iload, |
int | which | ||
) |
void dump_local_vars_and_externals | ( | int | indentLevel | ) |
MSPluginClass* pc |
short flags |
Reimplemented from Collectable.