Пример #1
0
 public CustomDataParameter()
 {
     CustomData  = new Value.Enum <CustomDataType>();
     Fixed       = new Value.Vector2D();
     Easing      = new Vector2DEasingParamater();
     FCurve      = new Value.FCurveVector2D();
     FCurveColor = new Value.FCurveColorRGBA();
 }
Пример #2
0
 public CustomDataParameter(int customDataNum)
 {
     this.customDataNum = customDataNum;
     CustomData         = new Value.Enum <CustomDataType>();
     Fixed       = new Value.Vector2D();
     Easing      = new Vector2DEasingParamater();
     FCurve      = new Value.FCurveVector2D();
     Fixed4      = new Value.Vector4D();
     FCurveColor = new Value.FCurveColorRGBA();
 }
Пример #3
0
            public RingParamater()
            {
                RenderingOrder = new Value.Enum <Data.RenderingOrder>(Data.RenderingOrder.FirstCreatedInstanceIsFirst);

                Billboard  = new Value.Enum <BillboardType>(BillboardType.Fixed);
                AlphaBlend = new Value.Enum <AlphaBlendType>(AlphaBlendType.Blend);

                VertexCount = new Value.Int(16, 256, 3);

                ViewingAngle        = new Value.Enum <ViewingAngleType>(ViewingAngleType.Fixed);
                ViewingAngle_Fixed  = new Value.Float(360.0f, 360.0f, 0.0f);
                ViewingAngle_Random = new Value.FloatWithRandom(360.0f, 360.0f, 0.0f);
                ViewingAngle_Easing = new FloatEasingParamater(360.0f, 360.0f, 0.0f);

                Outer        = new Value.Enum <LocationType>(LocationType.Fixed);
                Outer_Fixed  = new FixedLocation(2.0f, 0.0f);
                Outer_PVA    = new PVALocation(2.0f, 0.0f);
                Outer_Easing = new Vector2DEasingParamater();

                Inner        = new Value.Enum <LocationType>(LocationType.Fixed);
                Inner_Fixed  = new FixedLocation(1.0f, 0.0f);
                Inner_PVA    = new PVALocation(1.0f, 0.0f);
                Inner_Easing = new Vector2DEasingParamater();

                CenterRatio        = new Value.Enum <CenterRatioType>(CenterRatioType.Fixed);
                CenterRatio_Fixed  = new Value.Float(0.5f, 1.0f, 0.0f);
                CenterRatio_Random = new Value.FloatWithRandom(0.5f, 1.0f, 0.0f);
                CenterRatio_Easing = new FloatEasingParamater(0.5f, 1.0f, 0.0f);

                OuterColor        = new Value.Enum <ColorType>(ColorType.Fixed);
                OuterColor_Fixed  = new Value.Color(255, 255, 255, 0);
                OuterColor_Random = new Value.ColorWithRandom(255, 255, 255, 0);
                OuterColor_Easing = new ColorEasingParamater();

                CenterColor        = new Value.Enum <ColorType>(ColorType.Fixed);
                CenterColor_Fixed  = new Value.Color(255, 255, 255, 255);
                CenterColor_Random = new Value.ColorWithRandom(255, 255, 255, 255);
                CenterColor_Easing = new ColorEasingParamater();

                InnerColor        = new Value.Enum <ColorType>(ColorType.Fixed);
                InnerColor_Fixed  = new Value.Color(255, 255, 255, 0);
                InnerColor_Random = new Value.ColorWithRandom(255, 255, 255, 0);
                InnerColor_Easing = new ColorEasingParamater();

                if (Core.Language == Language.Japanese)
                {
                    ColorTexture = new Value.Path("画像ファイル (*.png)|*.png", true, "");
                }
                else if (Core.Language == Language.English)
                {
                    ColorTexture = new Value.Path("Image File (*.png)|*.png", true, "");
                }
            }
Пример #4
0
            public RingParamater(Path basepath)
            {
                RingShape      = new RingShapeParameter();
                RenderingOrder = new Value.Enum <Data.RenderingOrder>(Data.RenderingOrder.FirstCreatedInstanceIsFirst);

                Billboard  = new Value.Enum <BillboardType>(BillboardType.Fixed);
                AlphaBlend = new Value.Enum <AlphaBlendType>(AlphaBlendType.Blend);

                VertexCount = new Value.Int(16, 256, 3);

                /// for compatibility
                ViewingAngle        = new Value.Enum <ViewingAngleType>(ViewingAngleType.Fixed);
                ViewingAngle_Fixed  = new Value.Float(360.0f, 360.0f, 0.0f);
                ViewingAngle_Random = new Value.FloatWithRandom(360.0f, 360.0f, 0.0f);
                ViewingAngle_Easing = new FloatEasingParamater(360.0f, 360.0f, 0.0f);


                Outer        = new Value.Enum <LocationType>(LocationType.Fixed);
                Outer_Fixed  = new FixedLocation(2.0f, 0.0f);
                Outer_PVA    = new PVALocation(2.0f, 0.0f);
                Outer_Easing = new Vector2DEasingParamater();

                Inner        = new Value.Enum <LocationType>(LocationType.Fixed);
                Inner_Fixed  = new FixedLocation(1.0f, 0.0f);
                Inner_PVA    = new PVALocation(1.0f, 0.0f);
                Inner_Easing = new Vector2DEasingParamater();

                CenterRatio        = new Value.Enum <CenterRatioType>(CenterRatioType.Fixed);
                CenterRatio_Fixed  = new Value.Float(0.5f, 1.0f, 0.0f);
                CenterRatio_Random = new Value.FloatWithRandom(0.5f, 1.0f, 0.0f);
                CenterRatio_Easing = new FloatEasingParamater(0.5f, 1.0f, 0.0f);

                OuterColor        = new Value.Enum <ColorType>(ColorType.Fixed);
                OuterColor_Fixed  = new Value.Color(255, 255, 255, 0);
                OuterColor_Random = new Value.ColorWithRandom(255, 255, 255, 0);
                OuterColor_Easing = new ColorEasingParamater();

                CenterColor        = new Value.Enum <ColorType>(ColorType.Fixed);
                CenterColor_Fixed  = new Value.Color(255, 255, 255, 255);
                CenterColor_Random = new Value.ColorWithRandom(255, 255, 255, 255);
                CenterColor_Easing = new ColorEasingParamater();

                InnerColor        = new Value.Enum <ColorType>(ColorType.Fixed);
                InnerColor_Fixed  = new Value.Color(255, 255, 255, 0);
                InnerColor_Random = new Value.ColorWithRandom(255, 255, 255, 0);
                InnerColor_Easing = new ColorEasingParamater();

                ColorTexture = new Value.Path(basepath, Resources.GetString("ImageFilter"), true, "");
            }
Пример #5
0
            public RingParamater()
            {
                RenderingOrder = new Value.Enum<Data.RenderingOrder>(Data.RenderingOrder.FirstCreatedInstanceIsFirst);

                Billboard = new Value.Enum<BillboardType>(BillboardType.Fixed);
                AlphaBlend = new Value.Enum<AlphaBlendType>(AlphaBlendType.Blend);

                VertexCount = new Value.Int(16, 256, 3);

                ViewingAngle = new Value.Enum<ViewingAngleType>(ViewingAngleType.Fixed);
                ViewingAngle_Fixed = new Value.Float(360.0f, 360.0f, 0.0f);
                ViewingAngle_Random = new Value.FloatWithRandom(360.0f, 360.0f, 0.0f);
                ViewingAngle_Easing = new FloatEasingParamater(360.0f, 360.0f, 0.0f);

                Outer = new Value.Enum<LocationType>(LocationType.Fixed);
                Outer_Fixed = new FixedLocation(2.0f, 0.0f);
                Outer_PVA = new PVALocation(2.0f, 0.0f);
                Outer_Easing = new Vector2DEasingParamater();

                Inner = new Value.Enum<LocationType>(LocationType.Fixed);
                Inner_Fixed = new FixedLocation(1.0f, 0.0f);
                Inner_PVA = new PVALocation(1.0f, 0.0f);
                Inner_Easing = new Vector2DEasingParamater();

                CenterRatio = new Value.Enum<CenterRatioType>(CenterRatioType.Fixed);
                CenterRatio_Fixed = new Value.Float(0.5f, 1.0f, 0.0f);
                CenterRatio_Random = new Value.FloatWithRandom(0.5f, 1.0f, 0.0f);
                CenterRatio_Easing = new FloatEasingParamater(0.5f, 1.0f, 0.0f);

                OuterColor = new Value.Enum<ColorType>(ColorType.Fixed);
                OuterColor_Fixed = new Value.Color(255, 255, 255, 0);
                OuterColor_Random = new Value.ColorWithRandom(255, 255, 255, 0);
                OuterColor_Easing = new ColorEasingParamater();

                CenterColor = new Value.Enum<ColorType>(ColorType.Fixed);
                CenterColor_Fixed = new Value.Color(255, 255, 255, 255);
                CenterColor_Random = new Value.ColorWithRandom(255, 255, 255, 255);
                CenterColor_Easing = new ColorEasingParamater();

                InnerColor = new Value.Enum<ColorType>(ColorType.Fixed);
                InnerColor_Fixed = new Value.Color(255, 255, 255, 0);
                InnerColor_Random = new Value.ColorWithRandom(255, 255, 255, 0);
                InnerColor_Easing = new ColorEasingParamater();

                ColorTexture = new Value.Path(Properties.Resources.ImageFilter, true, "");
            }
Пример #6
0
            public RingParamater()
            {
                RenderingOrder = new Value.Enum<Data.RenderingOrder>(Data.RenderingOrder.FirstCreatedInstanceIsFirst);

                Billboard = new Value.Enum<BillboardType>(BillboardType.Fixed);
                AlphaBlend = new Value.Enum<AlphaBlendType>(AlphaBlendType.Blend);

                VertexCount = new Value.Int(16, 256, 3);

                ViewingAngle = new Value.Enum<ViewingAngleType>(ViewingAngleType.Fixed);
                ViewingAngle_Fixed = new Value.Float(360.0f, 360.0f, 0.0f);
                ViewingAngle_Random = new Value.FloatWithRandom(360.0f, 360.0f, 0.0f);
                ViewingAngle_Easing = new FloatEasingParamater(360.0f, 360.0f, 0.0f);

                Outer = new Value.Enum<LocationType>(LocationType.Fixed);
                Outer_Fixed = new FixedLocation(2.0f, 0.0f);
                Outer_PVA = new PVALocation(2.0f, 0.0f);
                Outer_Easing = new Vector2DEasingParamater();

                Inner = new Value.Enum<LocationType>(LocationType.Fixed);
                Inner_Fixed = new FixedLocation(1.0f, 0.0f);
                Inner_PVA = new PVALocation(1.0f, 0.0f);
                Inner_Easing = new Vector2DEasingParamater();

                CenterRatio = new Value.Enum<CenterRatioType>(CenterRatioType.Fixed);
                CenterRatio_Fixed = new Value.Float(0.5f, 1.0f, 0.0f);
                CenterRatio_Random = new Value.FloatWithRandom(0.5f, 1.0f, 0.0f);
                CenterRatio_Easing = new FloatEasingParamater(0.5f, 1.0f, 0.0f);

                OuterColor = new Value.Enum<ColorType>(ColorType.Fixed);
                OuterColor_Fixed = new Value.Color(255, 255, 255, 0);
                OuterColor_Random = new Value.ColorWithRandom(255, 255, 255, 0);
                OuterColor_Easing = new ColorEasingParamater();

                CenterColor = new Value.Enum<ColorType>(ColorType.Fixed);
                CenterColor_Fixed = new Value.Color(255, 255, 255, 255);
                CenterColor_Random = new Value.ColorWithRandom(255, 255, 255, 255);
                CenterColor_Easing = new ColorEasingParamater();

                InnerColor = new Value.Enum<ColorType>(ColorType.Fixed);
                InnerColor_Fixed = new Value.Color(255, 255, 255, 0);
                InnerColor_Random = new Value.ColorWithRandom(255, 255, 255, 0);
                InnerColor_Easing = new ColorEasingParamater();

                if (Core.Language == Language.Japanese)
                {
                    ColorTexture = new Value.Path("画像ファイル (*.png)|*.png", true, "");
                }
                else if (Core.Language == Language.English)
                {
                    ColorTexture = new Value.Path("Image File (*.png)|*.png", true, "");
                }
            }