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

            value.center     = null;
            value.velocity   = null;
            value.radial     = new FloatDistribution(0f);
            value.worldSpace = false;

            return(value);
        }
Example #2
0
 private static extern void Internal_create(ParticleOrbit managedInstance, ref ParticleOrbitOptions desc);
Example #3
0
 private static extern void Internal_getOptions(IntPtr thisPtr, out ParticleOrbitOptions __output);
Example #4
0
 private static extern void Internal_setOptions(IntPtr thisPtr, ref ParticleOrbitOptions options);
Example #5
0
 /// <summary>Creates a new particle orbit evolver.</summary>
 public ParticleOrbit(ParticleOrbitOptions desc)
 {
     Internal_create(this, ref desc);
 }