##### Ninja Library - Motion Function

# njSetMotionCallback

Registers motion callback routine

### FORMAT

`

  void njSetMotionCallback( func )
  void (*func)(NJS_OBJECT *obj)

`

### PARAMETER

  `*func` | Pointer to callback routine
  `*obj` | Callback parameters

### RETURN

  None

### DESCRIPTION

  Registers motion callback routine. After motion matrix operation, it is called right before drawing.

### NOTE

  Operation cannot be guaranteed when a drawing function is registered in `njSetMotionCallBack().`

### REFERENCE

  `njDrawModel()
  njAction()
  `

njSetMotionCallback

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999