Legacy:FadeColor - Unreal Wiki

# Legacy:FadeColor

### From Unreal Wiki, The Unreal Engine Documentation Site

UT2003 :: Object >> Material >> RenderedMaterial >> FadeColor (Package: Engine)

A material that generates a constant color by interpolating between two colors. Useful for adding simple fading effects at runtime.

## Properties

Color Color1
  First color.
Color Color2
  Second color.
float FadePeriod
  How long each fade takes.
float FadePhase
  Time offset. When creating or resetting FadeColor at runtime, set this to -Level.TimeSeconds to synchronize fade cycle.
EColorFadeType ColorFadeType
  How to fade between colors.

## Enums

### EColorFadeType

FC_Linear
  Interpolate between colors in a linear way.
FC_Sinusoidal
  Very similiar, stays at full color a bit longer, fading between colors is a bit faster. This settings doubles the fade time. Divide FadePeriod by 2 to get the same time as in FC_Linear.

Category: Legacy Class (UT2003)

##### Views

- Legacy
- Discussion
- Current revision

##### Search