COpenGL::SetOnChangeCallback![]()
void SetOnChangeCallback(void (*OnChangeProcedure)( void*, SObjectInfo* ManipulatedObject ), void* hData );
Parameters
| OnChangeProcedure | Specifies callback procedure |
| hData | Specifies the content of OnChangeProcedure callback. ClassGL will call the callback procedure with hData pointer as it’s parameter. The hData parameter usually specifies pointer to the class wrapping the COpenGL object. |
Remarks
ClassGL calls the callback procedure after the object’s position or rotation items in SObjectInfo structure are updated. The callback procedure is being called with passed hData parameter and SObjectInfo pointer of the manipulated object.
This method is available from ClassGL version 3.1
Example
See SetSelectProcedure for a code example
See Also
![]()
| © 2001 Solid Graphics, All rights reserved. |
| To view this site, we require use of either Netscape Navigator 4.0 or higher or Internet Explorer 4.0 or higher. |