ParticleTextureAnimation.generated.cs 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. [ShowInInspector]
  14. public partial class ParticleTextureAnimation : ParticleEvolver
  15. {
  16. private ParticleTextureAnimation(bool __dummy0) { }
  17. /// <summary>Creates a new particle texture animation evolver.</summary>
  18. public ParticleTextureAnimation(ParticleTextureAnimationOptions desc)
  19. {
  20. Internal_create(this, ref desc);
  21. }
  22. /// <summary>Creates a new particle texture animation evolver.</summary>
  23. public ParticleTextureAnimation()
  24. {
  25. Internal_create0(this);
  26. }
  27. /// <summary>Options describing the evolver.</summary>
  28. [ShowInInspector]
  29. [NativeWrapper]
  30. public ParticleTextureAnimationOptions Options
  31. {
  32. get
  33. {
  34. ParticleTextureAnimationOptions temp;
  35. Internal_getOptions(mCachedPtr, out temp);
  36. return temp;
  37. }
  38. set { Internal_setOptions(mCachedPtr, ref value); }
  39. }
  40. [MethodImpl(MethodImplOptions.InternalCall)]
  41. private static extern void Internal_setOptions(IntPtr thisPtr, ref ParticleTextureAnimationOptions options);
  42. [MethodImpl(MethodImplOptions.InternalCall)]
  43. private static extern void Internal_getOptions(IntPtr thisPtr, out ParticleTextureAnimationOptions __output);
  44. [MethodImpl(MethodImplOptions.InternalCall)]
  45. private static extern void Internal_create(ParticleTextureAnimation managedInstance, ref ParticleTextureAnimationOptions desc);
  46. [MethodImpl(MethodImplOptions.InternalCall)]
  47. private static extern void Internal_create0(ParticleTextureAnimation managedInstance);
  48. }
  49. /** @} */
  50. }