##### Ninja Library - Motion Function

# njCnkSetMotionCallback

Registers the motion callback routine for the chunk model

### FORMAT

`

  void njCnkSetMotionCallback( func )
  void (*func)(NJS_CNK_OBJECT *obj)

`

### PARAMETER

  `func` | Callback routine function pointer
  `obj` | Callback parameter

### RETURN

  None

### DESCRIPTION

  Registers the motion callback routine. This is called immediately before drawing and following the matrix calculation for the motion.

### REFERENCE

  `njCnkDrawMotion()
  njCnkSimpleDrawMotion()
  njCnkEasyMultiDrawMotion()
  njCnkEasyDrawMotion()
  `

njCnkSetMotionCallback

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999