예제 #1
0
        public CustomDataModule(bool _)
        {
            VectorComponentCount0 = 4;
            Color0    = new MinMaxGradient(true);
            Vector0_0 = new MinMaxCurve(0.0f);
            Vector0_1 = new MinMaxCurve(0.0f);
            Vector0_2 = new MinMaxCurve(0.0f);
            Vector0_3 = new MinMaxCurve(0.0f);
#if UNIVERSAL
            ColorLabel0    = "Color";
            VectorLabel0_0 = "X";
            VectorLabel0_1 = "Y";
            VectorLabel0_2 = "Z";
            VectorLabel0_3 = "W";
#endif

            VectorComponentCount0 = 4;
            Color1    = new MinMaxGradient(true);
            Vector1_0 = new MinMaxCurve(0.0f);
            Vector1_1 = new MinMaxCurve(0.0f);
            Vector1_2 = new MinMaxCurve(0.0f);
            Vector1_3 = new MinMaxCurve(0.0f);
#if UNIVERSAL
            ColorLabel1    = "Color";
            VectorLabel1_0 = "X";
            VectorLabel1_1 = "Y";
            VectorLabel1_2 = "Z";
            VectorLabel1_3 = "W";
#endif
        }
예제 #2
0
 public TrailModule(bool _)
 {
     Ratio                = 1.0f;
     Lifetime             = new MinMaxCurve(1.0f);
     MinVertexDistance    = 0.2f;
     RibbonCount          = 1;
     DieWithParticles     = true;
     SizeAffectsWidth     = true;
     InheritParticleColor = true;
     ColorOverLifetime    = new MinMaxGradient(true);
     WidthOverTrail       = new MinMaxCurve(1.0f);
     ColorOverTrail       = new MinMaxGradient(true);
 }