ParticleSimulationSpace.generated.cs 738 B

123456789101112131415161718192021222324252627
  1. using System;
  2. using System.Runtime.CompilerServices;
  3. using System.Runtime.InteropServices;
  4. namespace BansheeEngine
  5. {
  6. /** @addtogroup Particles
  7. * @{
  8. */
  9. /// <summary>Space in which to spawn/transform particles.</summary>
  10. public enum ParticleSimulationSpace
  11. {
  12. /// <summary>
  13. /// Particles will always remain local to their transform parent. This means if the transform parent moves so will all
  14. /// the particles.
  15. /// </summary>
  16. Local = 0,
  17. /// <summary>
  18. /// Particles will be placed in world space. This means they will spawn at the location of the transform parent, but are
  19. /// no longer affected by its transform after spawn (e.g. smoke rising from a moving train).
  20. /// </summary>
  21. World = 1
  22. }
  23. /** @} */
  24. }