| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- using System;
- using System.Runtime.CompilerServices;
- using System.Runtime.InteropServices;
- namespace BansheeEngine
- {
- /** @addtogroup Particles
- * @{
- */
- /// <summary>Particle emitter shape that emits particles from a line segment.</summary>
- public partial class ParticleEmitterLineShape : ParticleEmitterShape
- {
- private ParticleEmitterLineShape(bool __dummy0) { }
- /// <summary>Creates a new particle emitter edge shape.</summary>
- public ParticleEmitterLineShape(ParticleLineShapeOptions desc)
- {
- Internal_create(this, ref desc);
- }
- /// <summary>Creates a new particle emitter edge shape.</summary>
- public ParticleEmitterLineShape()
- {
- Internal_create0(this);
- }
- /// <summary>Options describing the shape.</summary>
- public ParticleLineShapeOptions Options
- {
- get
- {
- ParticleLineShapeOptions temp;
- Internal_getOptions(mCachedPtr, out temp);
- return temp;
- }
- set { Internal_setOptions(mCachedPtr, ref value); }
- }
- [MethodImpl(MethodImplOptions.InternalCall)]
- private static extern void Internal_setOptions(IntPtr thisPtr, ref ParticleLineShapeOptions options);
- [MethodImpl(MethodImplOptions.InternalCall)]
- private static extern void Internal_getOptions(IntPtr thisPtr, out ParticleLineShapeOptions __output);
- [MethodImpl(MethodImplOptions.InternalCall)]
- private static extern void Internal_create(ParticleEmitterLineShape managedInstance, ref ParticleLineShapeOptions desc);
- [MethodImpl(MethodImplOptions.InternalCall)]
- private static extern void Internal_create0(ParticleEmitterLineShape managedInstance);
- }
- /** @} */
- }
|