Public Member Functions | |
| HRESULT | SetEditorFeature (GUID gEditorFeature, RtBool bEnabled) |
| HRESULT | GetEditorFeature (GUID gEditorFeature, RtBool *bEnabled) |
| HRESULT | GetEditableSubtreeRoot (IRsNode *pNode, SAFEARRAY **ppExpandedNode) |
| HRESULT | ActivateDefaultTool (IRcUndoRedoGroup *spUndoRedo) |
| HRESULT IRsEditor::SetEditorFeature | ( | GUID | gEditorFeature, | |
| RtBool | bEnabled | |||
| ) |
Set mesh editor feature. Used by modifier nodes during initialization,
to enable or disable various editor features like topology operations or openning preferences panel etc.
| gEditorFeature | Mesh editor feature. eg. MESHEDITOR_TOPOLOGY_OPERATIONS | |
| bEnable | [in] Set state of feature. |
| HRESULT IRsEditor::GetEditorFeature | ( | GUID | gEditorFeature, | |
| RtBool * | bEnabled | |||
| ) |
Get mesh editor feature state. Used by modifier nodes to check for various (custom) features of mesh editor and also for detection of mesh editor type for custom editor-modifier pairs.
| gEditorFeature | Mesh editor feature. eg. MESHEDITOR_TOPOLOGY_OPERATIONS |
| HRESULT IRsEditor::GetEditableSubtreeRoot | ( | IRsNode * | pNode, | |
| SAFEARRAY ** | ppExpandedNode | |||
| ) |
For specified node return root of subtree(s) that are editable.
| HRESULT IRsEditor::ActivateDefaultTool | ( | IRcUndoRedoGroup * | spUndoRedo | ) |
Activate default mesh editor tool. Method is called to deactivate mesh edit tools.
1.5.5