ParticleTextureAnimation.generated.cs 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. using System;
  2. using System.Runtime.CompilerServices;
  3. using System.Runtime.InteropServices;
  4. namespace BansheeEngine
  5. {
  6. /** @addtogroup Particles
  7. * @{
  8. */
  9. /// <summary>
  10. /// Provides functionality for particle texture animation. Uses the sprite texture assigned to the particle's material to
  11. /// determine animation properties.
  12. /// </summary>
  13. public partial class ParticleTextureAnimation : ParticleEvolver
  14. {
  15. private ParticleTextureAnimation(bool __dummy0) { }
  16. /// <summary>Creates a new particle texture animation evolver.</summary>
  17. public ParticleTextureAnimation(ParticleTextureAnimationOptions desc)
  18. {
  19. Internal_create(this, ref desc);
  20. }
  21. /// <summary>Creates a new particle texture animation evolver.</summary>
  22. public ParticleTextureAnimation()
  23. {
  24. Internal_create0(this);
  25. }
  26. /// <summary>Options describing the evolver.</summary>
  27. public ParticleTextureAnimationOptions Options
  28. {
  29. get
  30. {
  31. ParticleTextureAnimationOptions temp;
  32. Internal_getOptions(mCachedPtr, out temp);
  33. return temp;
  34. }
  35. set { Internal_setOptions(mCachedPtr, ref value); }
  36. }
  37. [MethodImpl(MethodImplOptions.InternalCall)]
  38. private static extern void Internal_setOptions(IntPtr thisPtr, ref ParticleTextureAnimationOptions options);
  39. [MethodImpl(MethodImplOptions.InternalCall)]
  40. private static extern void Internal_getOptions(IntPtr thisPtr, out ParticleTextureAnimationOptions __output);
  41. [MethodImpl(MethodImplOptions.InternalCall)]
  42. private static extern void Internal_create(ParticleTextureAnimation managedInstance, ref ParticleTextureAnimationOptions desc);
  43. [MethodImpl(MethodImplOptions.InternalCall)]
  44. private static extern void Internal_create0(ParticleTextureAnimation managedInstance);
  45. }
  46. /** @} */
  47. }