| 1234567891011121314151617181920212223242526272829303132 |
- using System;
- using System.Runtime.CompilerServices;
- using System.Runtime.InteropServices;
- namespace BansheeEngine
- {
- /** @addtogroup Particles
- * @{
- */
- /// <summary>Structure used for initializing a ParticleForce object.</summary>
- [StructLayout(LayoutKind.Sequential), SerializeObject]
- public partial struct ParticleForceOptions
- {
- /// <summary>Initializes the struct with default values.</summary>
- public static ParticleForceOptions Default()
- {
- ParticleForceOptions value = new ParticleForceOptions();
- value.force = null;
- value.worldSpace = false;
- return value;
- }
- /// <summary>Determines the force of the particles evaluated over particle lifetime.</summary>
- public Vector3Distribution force;
- /// <summary>True if the force is provided in world space, false if in local space.</summary>
- public bool worldSpace;
- }
- /** @} */
- }
|