AnimUVHandlerAvailability LightWaveŽ 8.0 The AnimUV plug-in class allows the developer to transform the UV coordinates of a texture during animation.. Handler Activation Function XCALL_( int ) AnimUVActive( int version, GlobalFunc *global,
LWAnimUVHandler *local, void *serverData );
The local argument to a motion handler's activation function is an LWAnimUVHandler. typedef struct st_LWAnimUVHandler {
LWInstanceFuncs *inst;
LWItemFuncs *item;
int (*GetOptions)( LWInstance, char * );
int (*SetOptions)( LWInstance, char * );
int (*Begin)( LWInstance, char *, double, int, int, int );
int (*Evaluate)( LWInstance, int, double * );
int (*End)( LWInstance );
} LWAnimUVHandler;
The first two members of this structure are standard handler functions. The context argument to the inst->create function is the LWItemID of the item associated with this instance. In addition to the standard handler functions, a motion handler provides an evaluation function and a flags function.
Interface Activation Function XCALL_( int ) AnimUVInterface( int version, GlobalFunc *global,
LWInterface *local, void *serverData );
The interface activation's local data is the standard interface structure for handlers. Example The AnimUV SDK sample project illustrates the usage of this class. |