##### Ninja Library - Sprite Structure

# NJS_TEXANIM

Structure in which the texture animation pattern is set

### DEFINITION

      typedef struct {
       Sint16 sx,sy;
       Sint16 cx,cy;
       Sint16 u1,v1;
       Sint16 u2,v2;
       Sint16 texid;
       Sint16 attr;
      } NJS_TEXANIM;

### MEMBER

  `sx,sy` | Sprite size
  `cx,cy` | Sprite center coordinates
  `u1,v1` | Texture upper left UV coordinates
  `u2,v2` | Texture lower right UV coordinates
  `texid` | Sets whether to use a texture of a certain number in the texture list
  `attr` | Currently unused

### DESCRIPTION

  Structure in which the texture animation pattern is set.

### REFERENCE

  `njDrawSprite2D()
  njDrawSprite3D()
  `

NJS_TEXANIM

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999