# Set3DParticlesColorInterpolation

## Description

Sets the interpolation mode for color changes. Colors can be set at certain points in a particle's life using Add3DParticlesColorKeyFrame and the particle will either blend between these colors (smooth interpolation) or quickly change when it reaches the next color change (no interpolation).

## Definition

Set3DParticlesColorInterpolation( ID, mode )

void agk::Set3DParticlesColorInterpolation( UINT ID, int mode )

## Parameters

- ID - The ID of the emitter to modify.
- mode - 1=smooth interpolation, 0=no interpolation