maxscript/mxsplugin/mxsPlugin.h File Reference
Loading Bitmaps,
Dialog Based Creation of Objects,
Saving Bitmaps,
3DXI Contrasted with 3ds Max SDK,
Memory Management for Plug-ins that Work with Bitmaps,
Class Descriptors,
Implementing Simple Material and Texture Map Plug-ins with Nitrous,
Getting Started Writing Plug-ins,
Creating and Destroying Plug-in Instances,
Lesson 1: Sample utility plug-in,
Building Action Tables,
Lesson 5: Geometric Objects,
Lesson 6: Parameter Blocks,
Lesson 7: Writing .Net Plug-ins,
Changing Parameter Types,
Mental Ray Shaders in 3ds Max,
Using the Node and Object Offset Transformations,
Creating a Rollup Page using Custom Controls,
Converting Objects to Compatible Types,
Indirect Reference Example,
Parameter Editing on the Command Panel,
Porting Object Plug-ins to Nitrous,
Capping a Shape with a Mesh,
Capping a Shape with a Patch,
Guidelines for Handling Character Strings,
Hardware Shader UI Feature,
Creating a Patch,
Implementing Sub-Object Selection,
SDK Change Details,
RTTI and GetInterface(),
Adding the Roll-up to the Command Panel,
The NURBS API,
Backward Compatibility,
Pipeline Overview,
Loading and Parsing Shader Effect Files,
Manifests,
NVIDIA Cg Support,
SuperClassID Cleanup,
Using the API to Create and Modify 3ds Max NURBS Models,
Creating a Parameter Block 1,
Loading Old Parameter Data using IParamBlock2,
Action Interfaces,
Keyframe Data Access Classes and Methods,
Ring Array Creation Process,
Procedural Controller Data Access,
Tips and Tricks,
MAXScript Plug-in Basics,
Accessing Material Properties,
Autodesk.Max.dll,
Assigning Materials to Nodes in the Scene,
Editing Material and Texture Parameters,
Adding Modifiers to Objects,
.NET User Interface,
Extracting the Mesh from a Node,
Required DLL Functions,
Deferred Loading of Plug-ins,
Principal Bitmap Classes,
Creating Bitmaps,
Finding a Physique Modifier.
|
enum | { pl_this,
pl_version,
pl_loading,
pl_delegate
} |
|
enum | { pl_extent = pl_delegate + 1,
pl_min,
pl_max,
pl_center
} |
|
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
} |
|
|
visible_class(MSPluginClass)
class MSPluginClass void | ctor_init () |
|
| MSPluginClass (Value *name, MAXSuperClass *supcls, creator_fn cfn) |
|
| ~MSPluginClass () |
|
static MSPluginClass * | intern (Value *name, MAXSuperClass *supcls, creator_fn cfn) |
|
void | init (int local_count, Value **inits, HashTable *local_scope, HashTable *handlers, Array *pblock_defs, Array *iremap_param_names, Array *rollouts, MouseTool *create_tool) |
|
BOOL | is_kind_of (ValueMetaClass *c) |
|
void | gc_trace () |
|
void | collect () |
|
Value * | apply (Value **arglist, int count, CallContext *cc=NULL) |
|
void | SetClassID (Value *cidv) |
|
void | SetExtension (Value *cls) |
|
bool | ValidateIfExtendingClass (bool forceRevalidate=false) |
|
void | SetVersion (Value *ver) |
|
void | StopEditing (int stop_flags=0) |
|
void | RestartEditing () |
|
static int | lookup_assetType (Value *name) |
|
static ParamType2 | lookup_type (Value *name) |
|
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) |
|
virtual bool | is_custAttribDef () |
|
void | install_alternate (ReferenceTarget *ref) |
|
void | build_paramblk_descs () |
|
void | redefine (MSPlugin *val, HashTable *old_locals, Array *old_pblock_defs) |
|
Array * | find_pblock_def (Value *name, Array *pblock_defs) |
|
static void | save_class_defs (ISave *isave) |
|
static IOResult | load_class_def (ILoad *iload) |
|
static void | post_load (ILoad *iload, int which) |
|
virtual BOOL | OkToCreate (Interface *i) |
|
virtual RefTargetHandle | Create (BOOL loading) |
|
const MCHAR * | ClassName () |
|
SClass_ID | SuperClassID () |
|
Class_ID | ClassID () |
|
const MCHAR * | Category () |
|
const MCHAR * | InternalName () |
|
HINSTANCE | HInstance () |
|
BOOL | IsManipulator () |
|
BOOL | CanManipulate (ReferenceTarget *hTarget) |
|
BOOL | CanManipulateNode (INode *pNode) |
|
Manipulator * | CreateManipulator (ReferenceTarget *hTarget, INode *pNode) |
|
Manipulator * | CreateManipulator (INode *pNode) |
|
Value * | get_property (Value **arg_list, int count) |
|
Value * | set_property (Value **arg_list, int count) |
|
#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 |
Enumerator |
---|
pl_this |
|
pl_version |
|
pl_loading |
|
pl_delegate |
|
Definition: mxsPlugin.h:72
Definition: mxsPlugin.h:72
Definition: mxsPlugin.h:72
Definition: mxsPlugin.h:72
Enumerator |
---|
pl_extent |
|
pl_min |
|
pl_max |
|
pl_center |
|
Definition: mxsPlugin.h:72
Definition: mxsPlugin.h:76
Definition: mxsPlugin.h:76
Definition: mxsPlugin.h:76
Definition: mxsPlugin.h:76
Definition: mxsPlugin.h:72
Definition: mxsPlugin.h:80
Enumerator |
---|
pl_target |
|
pl_node |
|
pl_gizmoDontDisplay |
|
pl_gizmoDontHitTest |
|
pl_gizmoScaleToViewport |
|
pl_gizmoUseScreenSpace |
|
pl_gizmoActiveViewportOnly |
|
pl_gizmoUseRelativeScreenSpace |
|
Definition: mxsPlugin.h:86
Definition: mxsPlugin.h:72
Definition: mxsPlugin.h:84
Definition: mxsPlugin.h:85
Definition: mxsPlugin.h:86
Definition: mxsPlugin.h:85
Definition: mxsPlugin.h:84
Definition: mxsPlugin.h:85
Definition: mxsPlugin.h:86
#define class_tag(_cls)
Definition: value.h:438
BOOL is_kind_of(ValueMetaClass *c)
Definition: mxsPlugin.h:149
MSPluginClass(Value *name, MAXSuperClass *supcls, creator_fn cfn)
bool ValidateIfExtendingClass |
( |
bool |
forceRevalidate = false | ) |
|
virtual int to_int()
Definition: value.h:174
int version
Definition: mxsPlugin.h:132
void StopEditing |
( |
int |
stop_flags = 0 | ) |
|
static int lookup_assetType |
( |
Value * |
name | ) |
|
|
static |
virtual bool is_custAttribDef |
( |
| ) |
|
|
virtual |
void build_paramblk_descs |
( |
| ) |
|
const MCHAR* ClassName |
( |
| ) |
|
Value * class_name
Definition: mxsPlugin.h:114
virtual const MCHAR * to_string()
Definition: value.h:171
visible_class_debug_ok(MAXSuperClass) class MAXSuperClass SClass_ID sclass_id
Definition: mxsobjects.h:431
visible_class_debug_ok(MAXClass) class MAXClass Class_ID class_id
Definition: mxsobjects.h:537
const MCHAR* Category |
( |
| ) |
|
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:122
virtual const MCHAR * to_string()
Definition: value.h:171
Value * category
Definition: mxsobjects.h:553
const MCHAR* InternalName |
( |
| ) |
|
Value * name
Definition: structs.h:25
virtual const MCHAR * to_string()
Definition: value.h:171
HINSTANCE hInstance
Definition: mxsPlugin.h:115
BOOL CanManipulateNode |
( |
INode * |
pNode | ) |
|
bool validate_ExtendingClass_failed |
Array* loading_pblock_defs |