AudioAsset
Ease
FastString
FontAsset
NineSlice
PackedSprite
PackedSpriteID
RB
   HardwareSettings
   IRetroBlitGame
RBAsset
Rect2i
ShaderAsset
SoundReference
SpriteGrid
SpriteSheetAsset
TMXMapAsset
   TMXLayer
   TMXLayerLoadState
   TMXObject
   TMXObjectGroup
   TMXProperties
Vector2i

RB.Effect.ColorFade

Enumeration Value

Description

Fades the display to a given color. The color and amount of fade can be controlled.

Example

void Initialize()
{
    // Fade the display 50% to white. Note that the Vector2i parameter is ignored
    // for ColorFade.
    RB.EffectSet(RB.Effect.ColorFade, 0.5fVector2i.zero, Color.white);
}

See Docs

Features - Postprocessing Shaders