Exemplo n.º 1
0
 // Copy from
 public void CopyFrom(RFParticleDynamicDust source)
 {
     speedMin   = source.speedMin;
     speedMax   = source.speedMax;
     gravityMin = source.gravityMin;
     gravityMax = source.gravityMax;
 }
Exemplo n.º 2
0
        // auto alpha fade
        // few dust textures with separate alphas

        /// /////////////////////////////////////////////////////////
        /// Common
        /// /////////////////////////////////////////////////////////

        // Constructor
        public RayfireDust()
        {
            onDemolition = true;
            onActivation = false;
            onImpact     = false;

            dustMaterial     = null;
            opacity          = 0.25f;
            emissionMaterial = null;

            emission    = new RFParticleEmission();
            dynamic     = new RFParticleDynamicDust();
            noise       = new RFParticleNoise();
            collision   = new RFParticleCollisionDust();
            limitations = new RFParticleLimitations();
            rendering   = new RFParticleRendering();

            // Hidden
            //pSystem = null;
            hostTm      = null;
            initialized = false;
            amountFinal = 5;
        }