예제 #1
0
        /// <summary>Initializes the struct with default values.</summary>
        public static ParticleForceOptions Default()
        {
            ParticleForceOptions value = new ParticleForceOptions();

            value.force      = null;
            value.worldSpace = false;

            return(value);
        }
 private static extern void Internal_create(ParticleForce managedInstance, ref ParticleForceOptions desc);
 private static extern void Internal_getOptions(IntPtr thisPtr, out ParticleForceOptions __output);
 private static extern void Internal_setOptions(IntPtr thisPtr, ref ParticleForceOptions options);
 /// <summary>Creates a new particle force evolver.</summary>
 public ParticleForce(ParticleForceOptions desc)
 {
     Internal_create(this, ref desc);
 }