Click or drag to resize
BackgroundDrawMode Enumeration
Different modes to draw scene background.

Namespace:  GeonBit.ECS.Components.Graphics
Assembly:  GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public enum BackgroundDrawMode
Members
  Member nameValueDescription
Tiled0 Will draw background as repeating tiles.
Stretched1 Will stretch the texture over the entire viewport.
Cover2 Will try to fit the background to the viewport size ratio with minimal stretching. This means some parts of the texture will be out of screen (can either be from top / bottom, or left / right).
See Also