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 public enum BackgroundDrawMode
Members
| Member name | Value | Description |
---|
| Tiled | 0 |
Will draw background as repeating tiles.
|
| Stretched | 1 |
Will stretch the texture over the entire viewport.
|
| Cover | 2 |
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