##### Ninja Library - Model and Motion Structure

# NJS_OBJECT

Structure that stores object data

### DEFINITION

      typedef struct obj {
       Uint32  evalflags;
       NJS_MODEL *model;
       Float  pos[3];
       Angle  ang[3];
       Float  scl[3];
       struct obj *child;
       struct obj *sibling;
      } NJS_OBJECT;

### MEMBER

  `evalflags` | Evaluation method optimization flag
  `*model` | Pointer to model structure
  `pos[3]` | Parallel movement
  `ang[3]` | Rotation
  `scl[3]` | Scale
  `*child` | Pointer to child object
  `*sibling` | Pointer to sibling object

### DESCRIPTION

  Structure that stores object data. The following shows the value taken by member "evalflags" which indicates evaluation method optimization flag.

  NJD_EVAL_UNIT_POS
  NJD_EVAL_UNIT_ANG
  NJD_EVAL_UNIT_SCL
  NJD_EVAL_HIDE
  NJD_EVAL_BREAK
  NJD_EVAL_ZXY_ANG
  NJD_EVAL_SKIP

### REFERENCE

  `njCloseBinary()
  njCnkGetShape()
  njCnkSetCurrentShape()
  njDrawMotion()
  njDrawMotionLink()
  njDrawObject()
  njDrawShapeMotion()
  njDrawShapeMotionLink()
  njEasyDrawMotion()
  njEasyDrawMotionLink()
  njEasyDrawObject()
  njEasyDrawShapeMotion()
  njEasyDrawShapeMotionLink()
  njFastDrawMotion()
  njFastDrawMotionLink()
  njFastDrawObject()
  njFastDrawShapeMotion()
  njFastDrawShapeMotionLink()
  njGetDrawMotion()
  njGetMotionRotate()
  njGetMotionScale()
  njGetMotionTranslate()
  njInitShape()
  njMotionRotateXYZ()
  njMotionRotateZXY()
  njMotionScale()
  njMotionTransform()
  njMotionTransformZXY()
  njMotionTranslate()
  njOpenBinary()
  njReadBinary()
  njSetCurrentMotion()
  njSetMotionCallback()
  njSetNextMotionNode()
  njSimpleDrawMotion()
  njSimpleDrawMotionLink()
  njSimpleDrawObject()
  njSimpleDrawShapeMotion()
  njSimpleDrawShapeMotionLink()
  `

NJS_OBJECT

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999