# NIF File Format Documentation

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

## ns keyrotarray

Array of rotation keys (!!! for NifSkope only, use keyrotarray for regular use).

### Attributes

Name | Type | Arg | Arr1 | Arr2 | Cond | Description | From | To
--- | --- | --- | --- | --- | --- | --- | --- | ---
Num Keys | uint |  |  |  |  | Number of rotation keys. |  |
Key Type | uint |  |  |  | numKeys != 0 | The key type (1, 2, 3, or 4). |  |
Keys | ns keylin<TEMPLATE> |  | Num Keys |  | keyType == 1 | Linear keys. |  |
Keys | ns keylin<TEMPLATE> |  | Num Keys |  | keyType == 2 | Linear keys (yes, rotations don't have type 2 tangent keys!). |  |
Keys | ns keytbc<TEMPLATE> |  | Num Keys |  | keyType == 3 | TBC keys. |  |
Keys Sub | ns keyrotsub |  | Num Keys |  | keyType == 4 | Special rotation keys (3 float arrays, one for each axis). |  |

### Found In