3ds Max C++ API Reference
|
Functions | |
IPViewItem () | |
virtual int | NumPViewParamBlocks () const =0 |
virtual IParamBlock2 * | GetPViewParamBlock (int i) const =0 |
PFExport int | NumPViewParamMaps () const |
PFExport IParamMap2 * | GetPViewParamMap (int i) const |
PFExport void | AddPViewParamMap (IParamMap2 *map) |
PFExport void | RemovePViewParamMap (IParamMap2 *map) |
virtual bool | HasCustomPViewIcons () |
Implement if you want your operator/test to be shown with a custom icon in ParticleView. | |
virtual bool | HasTransparentPViewIcons () const |
Defines whether the custom icons in Particle View have alpha channels. | |
virtual HBITMAP | GetActivePViewIcon () |
Implement if you want your operator/test to be shown with a custom icon in ParticleView. | |
virtual HBITMAP | GetInactivePViewIcon () |
Implement if you want your operator/test to be shown with a custom icon in ParticleView. | |
virtual HBITMAP | GetTruePViewIcon () |
Implement if you want your operator/test to be shown with a custom icon in ParticleView. | |
virtual HBITMAP | GetFalsePViewIcon () |
Implement if you want your operator/test to be shown with a custom icon in ParticleView. | |
virtual bool | ShowColorSwatch () const |
An operator may have a color swatch UI (color circle on the right side) if it can be used to display particles in viewport. | |
PFExport int | GetNumInstances () const |
Used to track instanced actions. | |
PFExport void | SetNumInstances (int num) |
Used to track instanced actions. | |
PFExport void | IncNumInstances () |
Used to track instanced actions. | |
PFExport bool | HasComments (INode *itemNode) const |
A PView item can have comments. | |
PFExport const MCHAR * | GetComments (INode *itemNode) const |
See HasComments(). | |
PFExport void | SetComments (INode *itemNode, const MCHAR *comments) |
See HasComments(). | |
PFExport void | EditComments (INode *itemNode, HWND parentWnd, long x, long y) |
See HasComments(). | |
PFExport LRESULT CALLBACK | commentsProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) |
For internal use. | |
virtual bool | HasDynamicName (MSTR &nameSuffix) |
For dynamic names support; if the action has a dynamic name then it supplies the name suffix. | |
static PFExport int | GetWireExtension (INode *node, int &wireHeight) |
To read/modify the length/height of the wire nub extended from an emitter, or an action list, or a test. | |
static PFExport void | SetWireExtension (INode *node, int wireLen, int wireHight) |
Sets wire length. | |
FPInterfaceDesc * | GetDesc () |
Variables | |
Tab< IParamMap2 * > | m_paramMaps |
int | m_numInstances |
Tab< INode * > | m_nodes |
Tab< HWND > | m_hWnds |
|
inline |
|
pure virtual |
Implemented in PFSimpleAction.
|
pure virtual |
Implemented in PFSimpleAction.
PFExport IParamMap2 * GetPViewParamMap | ( | int | i | ) | const |
PFExport void AddPViewParamMap | ( | IParamMap2 * | map | ) |
PFExport void RemovePViewParamMap | ( | IParamMap2 * | map | ) |
|
inlinevirtual |
Implement if you want your operator/test to be shown with a custom icon in ParticleView.
|
inlinevirtual |
Defines whether the custom icons in Particle View have alpha channels.
It is not possible for any specific PFlow action/operator/test to have some icons with alpha, and some without. If the method returns true, then the PFlow action/operator/test has to implement all PViewIcon related methods below and return a 32-bit HBITMAP with alpha channel.
|
inlinevirtual |
|
inlinevirtual |
Implement if you want your operator/test to be shown with a custom icon in ParticleView.
For operator when in disabled state.
|
inlinevirtual |
Implement if you want your operator/test to be shown with a custom icon in ParticleView.
For test when in "always true" state.
|
inlinevirtual |
Implement if you want your operator/test to be shown with a custom icon in ParticleView.
For test when in "always false" state.
|
inlinevirtual |
An operator may have a color swatch UI (color circle on the right side) if it can be used to display particles in viewport.
The method is used for the case when the color swatch is variable: visibility of the swatch depends on the parameters of the operator. The typical case is 'mP Shape' operator where the particle collision shape is used for debugging purposes only. The operators Display, Display Script, Display Data don't implement this method since they always show their color swatch.
Used to track instanced actions.
An action may have several instances, which PView shows in italic font.
Used to track instanced actions.
An action may have several instances, which PView shows in italic font.
Used to track instanced actions.
An action may have several instances, which PView shows in italic font.
A PView item can have comments.
Comments are also shown and edited via right-click above the PView item.
See HasComments().
See HasComments().
See HasComments().
PFExport LRESULT CALLBACK commentsProc | ( | HWND | hwnd, |
UINT | message, | ||
WPARAM | wParam, | ||
LPARAM | lParam | ||
) |
For internal use.
|
inlinevirtual |
For dynamic names support; if the action has a dynamic name then it supplies the name suffix.
To read/modify the length/height of the wire nub extended from an emitter, or an action list, or a test.
You must supply the node of the item. This method returns wire length.
Sets wire length.
See GetWireExtension().
|
inlinevirtual |
Implements FPInterface.
|
protected |
|
protected |
|
protected |