# NIF File Format Documentation

NIF Objects | Compound Types | Enum Types | Basic Types | File Versions

## CoordGenType

Determines the way that UV texture coordinates are generated.

### Choices

Number | Name | Description
--- | --- | ---
0 | CG_WORLD_PARALLEL | Use plannar mapping.
1 | CG_WORLD_PERSPECTIVE | Use perspective mapping.
2 | CG_SPHERE_MAP | Use spherical mapping.
3 | CG_SPECULAR_CUBE_MAP | Use specular cube mapping.
4 | CG_DIFFUSE_CUBE_MAP | Use Diffuse cube mapping.

### Storage Type

unsigned int

### Found In

- NiTextureEffect