/// <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);
        }
예제 #2
0
 private static extern void Internal_create(ParticleOrbit managedInstance, ref ParticleOrbitOptions desc);
예제 #3
0
 private static extern void Internal_setOptions(IntPtr thisPtr, ref ParticleOrbitOptions options);
예제 #4
0
 private static extern void Internal_getOptions(IntPtr thisPtr, out ParticleOrbitOptions __output);
예제 #5
0
 /// <summary>Creates a new particle orbit evolver.</summary>
 public ParticleOrbit(ParticleOrbitOptions desc)
 {
     Internal_create(this, ref desc);
 }