Developer

API Reference

IVFSNODE_SetModel()

deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
Brew Release
Brew MP 1.0.2
See Also
IVFSNODE_SetProperty() IVFSNODE_GetModel() IVFSNODE_GetObject()
Description
Associates a model with a node.
Parameters
  • po
    []:
    [in] Pointer to the IVfsNode interface object
  • model
    []:
    [in] Pointer to the the model interface object
Interface
IVFSNODE
Prototype
   int IVFSNODE_SetModel(IVfsNode * po,IVfsNodeModel * model)
Return
   SUCCESS, or standard error code.
Side Effect
None
Comment
Inline accessor for IVFSNODE_SetProperty(..., NODEPROPERTY_MODEL,...)
You can associate EITHER a model OR an object (void*) with a node. Associating a model will disassociate an object, and vice versa.
  • Follow