Interface ITintableVisual

Namespace
SurvivorsMaker.Presentation
Assembly
SurvivorsMaker.Presentation.dll

Optional for ICharacterVisual adapters: a colour wash the world view drives for statuses, invulnerability and boss flashes. Amount 0 = untouched, 1 = fully the overlay colour (alpha is kept).

public interface ITintableVisual

Methods

SetOverlay(Color, float)

Blends the supplied overlay colour by amount from zero to one; zero restores the base appearance.

void SetOverlay(Color color, float amount)

Parameters

color Color
amount float