PlanarProjectTexturePrimitive_PropertySheet::ModelChanged

Background

This method handles model change notifications while the editor is active. See PropertyEditorModule::ModelChanged for more information.

Prototype

virtual int ModelChanged( int index, int element, int changeType, Node * pNode )

Parameters

  • int index: The index of the changed element.
  • int element: The element type, a Model_Element or Model_Element_Ex enumeration value.
  • int changeType: The Change_Type code indicating what type of change.
  • Node * pNode: A pointer to the node, or NULL if the changing object is not a node.

Return Value

The return value is a PropertyEditorModule_ModelChangedCodes value indicating the module's response to the change. For example Node editors return PEMMCC_Clear to cancel the editor when notified that one or more of the nodes being edited has been removed from the database.