1
0

ParallaxLayerPrepared.cs 542 B

1234567891011121314151617181920212223
  1. using System;
  2. using Robust.Client.Graphics;
  3. using Content.Client.Parallax.Data;
  4. using Robust.Shared.Graphics;
  5. namespace Content.Client.Parallax;
  6. /// <summary>
  7. /// A 'prepared' (i.e. texture loaded and ready to use) parallax layer.
  8. /// </summary>
  9. public struct ParallaxLayerPrepared
  10. {
  11. /// <summary>
  12. /// The loaded texture for this layer.
  13. /// </summary>
  14. public Texture Texture { get; set; }
  15. /// <summary>
  16. /// The configuration for this layer.
  17. /// </summary>
  18. public ParallaxLayerConfig Config { get; set; }
  19. }