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

            value.rotation      = new FloatDistribution(0f);
            value.rotation3D    = null;
            value.use3DRotation = false;

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