# NIF File Format Documentation

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

## PSLoopBehavior

### Choices

Number | Name | Description
--- | --- | ---
0 | PS_LOOP_CLAMP_BIRTH | Key times map such that the first key occurs at the birth of the particle, and times later than the last key get the last key value.
1 | PS_LOOP_CLAMP_DEATH | Key times map such that the last key occurs at the death of the particle, and times before the initial key time get the value of the initial key.
2 | PS_LOOP_AGESCALE | Scale the animation to fit the particle lifetime, so that the first key is age zero, and the last key comes at the particle death.
3 | PS_LOOP_LOOP | The time is converted to one within the time range represented by the keys, as if the key sequence loops forever in the past and future.
4 | PS_LOOP_REFLECT | The time is reflection looped, as if the keys played forward then backward the forward then backward etc for all time.

### Storage Type

unsigned int

### Found In

- NiPSSimulatorGeneralStep
- NiPSSimulatorMeshAlignStep