TilemapObjectDrawOrder.cs 463 B

123456789101112131415161718
  1. namespace MonoGame.Extended.Tilemaps
  2. {
  3. /// <summary>
  4. /// Specifies the rendering order for objects in an object layer.
  5. /// </summary>
  6. public enum TilemapObjectDrawOrder
  7. {
  8. /// <summary>
  9. /// Objects are drawn based on their Y position (top to bottom).
  10. /// </summary>
  11. TopDown,
  12. /// <summary>
  13. /// Objects are drawn in the order they appear in the layer.
  14. /// </summary>
  15. Index
  16. }
  17. }