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

            VectorComponentCount0 = 4;
            Color1         = new MinMaxGradient(true);
            ColorLabel1    = "Color";
            Vector1_0      = new MinMaxCurve(0.0f);
            VectorLabel1_0 = "X";
            Vector1_1      = new MinMaxCurve(0.0f);
            VectorLabel1_1 = "Y";
            Vector1_2      = new MinMaxCurve(0.0f);
            VectorLabel1_2 = "Z";
            Vector1_3      = new MinMaxCurve(0.0f);
            VectorLabel1_3 = "W";
        }
コード例 #2
0
ファイル: TrailModule.cs プロジェクト: Hengle/UtinyRipper-1
 public TrailModule(bool _)
 {
     Ratio                = 1.0f;
     Lifetime             = new MinMaxCurve(1.0f, 1.0f, 1.0f, 1.0f);
     MinVertexDistance    = 0.2f;
     RibbonCount          = 1;
     DieWithParticles     = true;
     SizeAffectsWidth     = true;
     InheritParticleColor = true;
     ColorOverLifetime    = new MinMaxGradient(true);
     WidthOverTrail       = new MinMaxCurve(1.0f, 1.0f, 1.0f, 1.0f);
     ColorOverTrail       = new MinMaxGradient(true);
 }