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 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. |
|
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 MSTR | GetComments (INode *itemNode) const |
See HasComments(). |
|
PFExport void | SetComments (INode *itemNode, MSTR 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 () |
IPViewItem | ( | ) | [inline, inherited] |
{ m_numInstances = 1; }
int NumPViewParamBlocks | ( | ) | const [pure virtual, inherited] |
Implemented in PFSimpleAction.
IParamBlock2 * GetPViewParamBlock | ( | int | i | ) | const [pure virtual, inherited] |
Implemented in PFSimpleAction.
PFExport int NumPViewParamMaps | ( | ) | const [inherited] |
PFExport IParamMap2 * GetPViewParamMap | ( | int | i | ) | const [inherited] |
PFExport void AddPViewParamMap | ( | IParamMap2 * | map | ) | [inherited] |
PFExport void RemovePViewParamMap | ( | IParamMap2 * | map | ) | [inherited] |
bool HasCustomPViewIcons | ( | ) | [inline, virtual, inherited] |
Implement if you want your operator/test to be shown with a custom icon in ParticleView.
{ return false; }
HBITMAP GetActivePViewIcon | ( | ) | [inline, virtual, inherited] |
Implement if you want your operator/test to be shown with a custom icon in ParticleView.
For operator/test when in active state.
{ return NULL; }
HBITMAP GetInactivePViewIcon | ( | ) | [inline, virtual, inherited] |
Implement if you want your operator/test to be shown with a custom icon in ParticleView.
For operator when in disabled state.
{ return NULL; }
HBITMAP GetTruePViewIcon | ( | ) | [inline, virtual, inherited] |
Implement if you want your operator/test to be shown with a custom icon in ParticleView.
For test when in "always true" state.
{ return NULL; }
HBITMAP GetFalsePViewIcon | ( | ) | [inline, virtual, inherited] |
Implement if you want your operator/test to be shown with a custom icon in ParticleView.
For test when in "always false" state.
{ return NULL; }
PFExport int GetNumInstances | ( | ) | const [inherited] |
Used to track instanced actions.
An action may have several instances, which PView shows in italic font.
PFExport void SetNumInstances | ( | int | num | ) | [inherited] |
Used to track instanced actions.
An action may have several instances, which PView shows in italic font.
PFExport void IncNumInstances | ( | ) | [inherited] |
Used to track instanced actions.
An action may have several instances, which PView shows in italic font.
PFExport bool HasComments | ( | INode * | itemNode | ) | const [inherited] |
A PView item can have comments.
Comments are also shown and edited via right-click above the PView item.
See HasComments().
See HasComments().
PFExport void EditComments | ( | INode * | itemNode, |
HWND | parentWnd, | ||
long | x, | ||
long | y | ||
) | [inherited] |
See HasComments().
PFExport LRESULT CALLBACK commentsProc | ( | HWND | hwnd, |
UINT | message, | ||
WPARAM | wParam, | ||
LPARAM | lParam | ||
) | [inherited] |
For internal use.
bool HasDynamicName | ( | MSTR & | nameSuffix | ) | [inline, virtual, inherited] |
For dynamic names support; if the action has a dynamic name then it supplies the name suffix.
{ UNUSED_PARAM(nameSuffix); return false; }
PFExport static int GetWireExtension | ( | INode * | node, |
int & | wireHeight | ||
) | [static, inherited] |
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.
PFExport static void SetWireExtension | ( | INode * | node, |
int | wireLen, | ||
int | wireHight | ||
) | [static, inherited] |
FPInterfaceDesc * GetDesc | ( | ) | [inline, virtual, inherited] |
Implements FPInterface.
{ return GetDescByID(PVIEWITEM_INTERFACE); }