CircleRadiation.cs 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. // Copyright (c) Craftwork Games. All rights reserved.
  2. // Licensed under the MIT license.
  3. // See LICENSE file in the project root for full license information.
  4. namespace MonoGame.Extended.Particles.Profiles;
  5. /// <summary>
  6. /// Defines the radiation pattern for particles when using a <see cref="CircleProfile"/>.
  7. /// </summary>
  8. /// <remarks>
  9. /// This enumeration determines how a particle's initial position within a circle affects its movement direction
  10. /// (heading). Different radiation patterns can create varied visual effects such as explosions, implosions, or
  11. /// randomized dispersion.
  12. /// </remarks>
  13. public enum CircleRadiation
  14. {
  15. /// <summary>
  16. /// Particles move in random directions unrelated to their position.
  17. /// </summary>
  18. /// <remarks>
  19. /// In this mode, the initial heading of particles is completely random and has no relationship to their position
  20. /// within the circle. This creates a chaotic dispersion effect with no discernible pattern of movement.
  21. /// </remarks>
  22. None,
  23. /// <summary>
  24. /// Particles move toward the center of the circle.
  25. /// </summary>
  26. /// <remarks>
  27. /// In this mode, particles are given initial headings that point directly toward the center of the circle from
  28. /// their starting position. This creates an implosion or suction effect, as if particles are being drawn inward.
  29. /// </remarks>
  30. In,
  31. /// <summary>
  32. /// Particles move away from the center of the circle.
  33. /// </summary>
  34. /// <remarks>
  35. /// In this mode, particles are given initial headings that point directly away from the center of the circle,
  36. /// extending their starting position outward. This creates an explosion or burst effect, as if particles are
  37. /// emanating from a central point.
  38. /// </remarks>
  39. Out
  40. }