Instance Update

Availability LightWave 6.0 | Component Layout, Modeler | Header lwhandler.h

A handler plug-in calls this to synchronize LightWave with changes to the plug-in's instance data. LightWave will refresh its own interface and will usually call the handler's evaluation function in the process.

Global Call

   LWInstUpdate *instupdate;
   instupdate = global( LWINSTUPDATE_GLOBAL, GFUSE_TRANSIENT );

The global function returns a pointer to an LWInstUpdate.

   typedef void LWInstUpdate (const char *class, LWInstance);

The arguments are the plug-in class of your handler and the instance that has changed.

Example

Several of the samples, including blotch, inertia and txchan use the update function.