/// <summary>Initializes the struct with default values.</summary>
        public static ParticleCollisionsOptions Default()
        {
            ParticleCollisionsOptions value = new ParticleCollisionsOptions();

            value.mode         = ParticleCollisionMode.Plane;
            value.restitution  = 1f;
            value.dampening    = 0.5f;
            value.lifetimeLoss = 0f;
            value.radius       = 0.00999999977f;
            value.layer        = 18446744073709551615;

            return(value);
        }
Ejemplo n.º 2
0
 private static extern void Internal_create(ParticleCollisions managedInstance, ref ParticleCollisionsOptions desc);
Ejemplo n.º 3
0
 private static extern void Internal_setOptions(IntPtr thisPtr, ref ParticleCollisionsOptions options);
Ejemplo n.º 4
0
 private static extern void Internal_getOptions(IntPtr thisPtr, out ParticleCollisionsOptions __output);
Ejemplo n.º 5
0
 /// <summary>Creates a new particle collision evolver.</summary>
 public ParticleCollisions(ParticleCollisionsOptions desc)
 {
     Internal_create(this, ref desc);
 }