ParticleTextureAnimation.generated.cs 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. public ParticleTextureAnimationOptions Options
  30. {
  31. get
  32. {
  33. ParticleTextureAnimationOptions temp;
  34. Internal_getOptions(mCachedPtr, out temp);
  35. return temp;
  36. }
  37. set { Internal_setOptions(mCachedPtr, ref value); }
  38. }
  39. [MethodImpl(MethodImplOptions.InternalCall)]
  40. private static extern void Internal_setOptions(IntPtr thisPtr, ref ParticleTextureAnimationOptions options);
  41. [MethodImpl(MethodImplOptions.InternalCall)]
  42. private static extern void Internal_getOptions(IntPtr thisPtr, out ParticleTextureAnimationOptions __output);
  43. [MethodImpl(MethodImplOptions.InternalCall)]
  44. private static extern void Internal_create(ParticleTextureAnimation managedInstance, ref ParticleTextureAnimationOptions desc);
  45. [MethodImpl(MethodImplOptions.InternalCall)]
  46. private static extern void Internal_create0(ParticleTextureAnimation managedInstance);
  47. }
  48. /** @} */
  49. }