ParticleTextureAnimation.generated.cs 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. protected ParticleTextureAnimation() { }
  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>Options describing the evolver.</summary>
  23. public ParticleTextureAnimationOptions Options
  24. {
  25. get
  26. {
  27. ParticleTextureAnimationOptions temp;
  28. Internal_getOptions(mCachedPtr, out temp);
  29. return temp;
  30. }
  31. set { Internal_setOptions(mCachedPtr, ref value); }
  32. }
  33. [MethodImpl(MethodImplOptions.InternalCall)]
  34. private static extern void Internal_setOptions(IntPtr thisPtr, ref ParticleTextureAnimationOptions options);
  35. [MethodImpl(MethodImplOptions.InternalCall)]
  36. private static extern void Internal_getOptions(IntPtr thisPtr, out ParticleTextureAnimationOptions __output);
  37. [MethodImpl(MethodImplOptions.InternalCall)]
  38. private static extern void Internal_create(ParticleTextureAnimation managedInstance, ref ParticleTextureAnimationOptions desc);
  39. }
  40. /** @} */
  41. }