Exemple #1
0
 internal AxisPVAParamater()
 {
     Axis         = new Value.Vector3DWithRandom(0, 1, 0);
     Rotation     = new Value.FloatWithRandom(0);
     Velocity     = new Value.FloatWithRandom(0);
     Acceleration = new Value.FloatWithRandom(0);
 }
Exemple #2
0
 internal FloatEasingParamater(float value = 0.0f, float max = float.MaxValue, float min = float.MinValue)
 {
     Start = new Value.FloatWithRandom(value, max, min);
     End = new Value.FloatWithRandom(value, max, min);
     StartSpeed = new Value.Enum<EasingStart>(EasingStart.Start);
     EndSpeed = new Value.Enum<EasingEnd>(EasingEnd.End);
 }
 public CircleParameter()
 {
     Division   = new Value.Int(8, int.MaxValue, 1);
     Radius     = new Value.FloatWithRandom();
     AngleStart = new Value.FloatWithRandom(0, float.MaxValue, float.MinValue);
     AngleEnd   = new Value.FloatWithRandom(360, float.MaxValue, float.MinValue);
     Type       = new Value.Enum <CircleType>(CircleType.Random);
 }
 public LineParameter()
 {
     Division      = new Value.Int(8, int.MaxValue, 1);
     PositionStart = new Value.Vector3DWithRandom();
     PositionEnd   = new Value.Vector3DWithRandom();
     PositionNoize = new Value.FloatWithRandom();
     Type          = new Value.Enum <LineType>(LineType.Random);
 }
Exemple #5
0
 internal FourPointInterpolationParameter()
 {
     BeginThreshold      = new Value.FloatWithRandom(0.0f, 1.0f, 0.0f, DrawnAs.CenterAndAmplitude, 0.05f);
     TransitionFrameNum  = new Value.IntWithRandom(0, int.MaxValue, 0);
     No2Threshold        = new Value.FloatWithRandom(0.0f, 1.0f, 0.0f, DrawnAs.CenterAndAmplitude, 0.05f);
     No3Threshold        = new Value.FloatWithRandom(0.0f, 1.0f, 0.0f, DrawnAs.CenterAndAmplitude, 0.05f);
     TransitionFrameNum2 = new Value.IntWithRandom(0, int.MaxValue, 0);
     EndThreshold        = new Value.FloatWithRandom(0.0f, 1.0f, 0.0f, DrawnAs.CenterAndAmplitude, 0.05f);
 }
Exemple #6
0
 internal SoundParamater(Value.Path basepath)
 {
     Wave     = new Value.PathForSound(basepath, Resources.GetString("SoundFilter"), true, "");
     Volume   = new Value.FloatWithRandom(1.0f, 1.0f, 0.0f, DrawnAs.CenterAndAmplitude, 0.1f);
     Pitch    = new Value.FloatWithRandom(0.0f, 2.0f, -2.0f, DrawnAs.CenterAndAmplitude, 0.1f);
     PanType  = new Value.Enum <ParamaterPanType>(ParamaterPanType.Sound2D);
     Pan      = new Value.FloatWithRandom(0.0f, 1.0f, -1.0f, DrawnAs.CenterAndAmplitude, 0.1f);
     Distance = new Value.Float(10.0f);
     Delay    = new Value.IntWithRandom(0, int.MaxValue, 0);
 }
Exemple #7
0
 internal SoundParamater()
 {
     Wave     = new Value.PathForSound("音声ファイル (*.wav)|*.wav", true, "");
     Volume   = new Value.FloatWithRandom(1.0f, 1.0f, 0.0f);
     Pitch    = new Value.FloatWithRandom(0.0f, 2.0f, -2.0f);
     PanType  = new Value.Enum <ParamaterPanType>(ParamaterPanType.Sound2D);
     Pan      = new Value.FloatWithRandom(0.0f, 1.0f, -1.0f);
     Distance = new Value.Float(10.0f);
     Delay    = new Value.IntWithRandom(0, int.MaxValue, 0);
 }
Exemple #8
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, "");
                }
            }
Exemple #9
0
 internal CommonValues()
 {
     MaxGeneration = new Value.IntWithInifinite(1, false, int.MaxValue, 0);
     LocationEffectType = new Value.Enum<ParentEffectType>(ParentEffectType.Already);
     RotationEffectType = new Value.Enum<ParentEffectType>(ParentEffectType.Already);
     ScaleEffectType = new Value.Enum<ParentEffectType>(ParentEffectType.Already);
     RemoveWhenLifeIsExtinct = new Value.Boolean(true);
     RemoveWhenParentIsRemoved = new Value.Boolean(false);
     RemoveWhenAllChildrenAreRemoved = new Value.Boolean(false);
     Life = new Value.IntWithRandom(100, int.MaxValue, 1);
     GenerationTime = new Value.FloatWithRandom(1.0f, float.MaxValue, 0.00001f);
     GenerationTimeOffset = new Value.FloatWithRandom(0.0f, float.MaxValue, 0.0f);
 }
Exemple #10
0
 internal CommonValues()
 {
     MaxGeneration                   = new Value.IntWithInifinite(1, false, int.MaxValue, 0);
     LocationEffectType              = new Value.Enum <ParentEffectType>(ParentEffectType.Already);
     RotationEffectType              = new Value.Enum <ParentEffectType>(ParentEffectType.Already);
     ScaleEffectType                 = new Value.Enum <ParentEffectType>(ParentEffectType.Already);
     RemoveWhenLifeIsExtinct         = new Value.Boolean(true);
     RemoveWhenParentIsRemoved       = new Value.Boolean(false);
     RemoveWhenAllChildrenAreRemoved = new Value.Boolean(false);
     Life                 = new Value.IntWithRandom(100, int.MaxValue, 1);
     GenerationTime       = new Value.FloatWithRandom(1.0f, float.MaxValue, 0.00001f);
     GenerationTimeOffset = new Value.FloatWithRandom(0, float.MaxValue, float.MinValue);
 }
        public RingShapeCrescentParameter()
        {
            StartingFade         = new Value.Float(0, 360, 0);
            EndingFade           = new Value.Float(0, 360, 0);
            StartingAngle        = new Value.Enum <FixedRandomEasingType>();
            StartingAngle_Fixed  = new Value.Float(0);
            StartingAngle_Random = new Value.FloatWithRandom();
            StartingAngle_Easing = new FloatEasingParamater();

            EndingAngle        = new Value.Enum <FixedRandomEasingType>();
            EndingAngle_Fixed  = new Value.Float(360);
            EndingAngle_Random = new Value.FloatWithRandom(360);
            EndingAngle_Easing = new FloatEasingParamater(360);
        }
            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, "");
            }
Exemple #13
0
 internal Vector2DWithRandom(
     float x         = 0,
     float y         = 0,
     float x_max     = float.MaxValue,
     float x_min     = float.MinValue,
     float y_max     = float.MaxValue,
     float y_min     = float.MinValue,
     DrawnAs drawnas = Data.DrawnAs.CenterAndAmplitude,
     float x_step    = 1.0f,
     float y_step    = 1.0f)
 {
     X              = new FloatWithRandom(x, x_max, x_min, drawnas, x_step);
     Y              = new FloatWithRandom(y, y_max, y_min, drawnas, y_step);
     DrawnAs        = drawnas;
     DefaultDrawnAs = DrawnAs;
 }
        internal Vector2DWithRandom(
			float x = 0,
			float y = 0,
			float x_max = float.MaxValue,
			float x_min = float.MinValue,
			float y_max = float.MaxValue,
			float y_min = float.MinValue,
			DrawnAs drawnas = Data.DrawnAs.CenterAndAmplitude,
			float x_step = 1.0f,
			float y_step = 1.0f)
        {
            X = new FloatWithRandom(x, x_max, x_min, drawnas, x_step);
            Y = new FloatWithRandom(y, y_max, y_min, drawnas, y_step);
            DrawnAs = drawnas;
            DefaultDrawnAs = DrawnAs;
        }
Exemple #15
0
            internal SoundParamater()
            {
                if (Core.Language == Language.Japanese)
                {
                    Wave = new Value.PathForSound("音声ファイル (*.wav)|*.wav", true, "");
                }
                else if (Core.Language == Language.English)
                {
                    Wave = new Value.PathForSound("Sound File (*.wav)|*.wav", true, "");
                }

                Volume   = new Value.FloatWithRandom(1.0f, 1.0f, 0.0f, DrawnAs.CenterAndAmplitude, 0.1f);
                Pitch    = new Value.FloatWithRandom(0.0f, 2.0f, -2.0f, DrawnAs.CenterAndAmplitude, 0.1f);
                PanType  = new Value.Enum <ParamaterPanType>(ParamaterPanType.Sound2D);
                Pan      = new Value.FloatWithRandom(0.0f, 1.0f, -1.0f, DrawnAs.CenterAndAmplitude, 0.1f);
                Distance = new Value.Float(10.0f);
                Delay    = new Value.IntWithRandom(0, int.MaxValue, 0);
            }
Exemple #16
0
        internal FloatEasingParamater(float value = 0.0f, float max = float.MaxValue, float min = float.MinValue)
        {
            Type = new Value.Enum <EasingType>();

            Start      = new Value.FloatWithRandom(value, max, min);
            End        = new Value.FloatWithRandom(value, max, min);
            StartSpeed = new Value.Enum <EasingStart>(EasingStart.Start);
            EndSpeed   = new Value.Enum <EasingEnd>(EasingEnd.End);

            IsMiddleEnabled = new Value.Boolean(false);
            Middle          = new Value.FloatWithRandom(value, max, min);

            IsRandomGroupEnabled = new Value.Boolean(false);

            RandomGroupA = new Value.Int(0);

            IsIndividualTypeEnabled = new Value.Boolean(false);
            Type_A = new Value.Enum <EasingType>(EasingType.Linear);
        }
Exemple #17
0
        internal CommonValues()
        {
            MaxGeneration                   = new Value.IntWithInifinite(1, false, int.MaxValue, 1);
            LocationEffectType              = new Value.Enum <TranslationParentEffectType>(TranslationParentEffectType.Already);
            RotationEffectType              = new Value.Enum <ParentEffectType>(ParentEffectType.Already);
            ScaleEffectType                 = new Value.Enum <ParentEffectType>(ParentEffectType.Already);
            RemoveWhenLifeIsExtinct         = new Value.Boolean(true);
            RemoveWhenParentIsRemoved       = new Value.Boolean(false);
            RemoveWhenAllChildrenAreRemoved = new Value.Boolean(false);
            Life                  = new Value.IntWithRandom(100, int.MaxValue, 1);
            GenerationTime        = new Value.FloatWithRandom(1.0f, float.MaxValue, 0.00001f);
            GenerationTimeOffset  = new Value.FloatWithRandom(0, float.MaxValue, float.MinValue);
            SteeringBehaviorParam = new SteeringBehaviorParameter();

            // dynamic parameter
            MaxGeneration.CanSelectDynamicEquation        = true;
            Life.CanSelectDynamicEquation                 = true;
            GenerationTime.CanSelectDynamicEquation       = true;
            GenerationTimeOffset.CanSelectDynamicEquation = true;
        }
Exemple #18
0
        public static void LoadFromElement(XmlElement e, Value.FloatWithRandom value, bool isClip)
        {
            var e_c   = e["Center"];
            var e_max = e["Max"];
            var e_min = e["Min"];
            var e_da  = e["DrawnAs"];

            if (e_c != null)
            {
                var center = e_c.GetTextAsFloat();
                value.SetCenter(center);
            }

            if (e_max != null)
            {
                var max = e_max.GetTextAsFloat();
                value.SetMax(max);
            }
            else
            {
                value.SetMax(value.DefaultValueMax);
            }

            if (e_min != null)
            {
                var min = e_min.GetTextAsFloat();
                value.SetMin(min);
            }
            else
            {
                value.SetMin(value.DefaultValueMin);
            }

            if (e_da != null)
            {
                value.DrawnAs = (DrawnAs)e_da.GetTextAsInt();
            }
        }
Exemple #19
0
        public static XmlElement SaveToElement(XmlDocument doc, string element_name, Value.FloatWithRandom value, bool isClip)
        {
            var e = doc.CreateElement(element_name);

            if (value.DefaultValueCenter != value.Center)
            {
                e.AppendChild(doc.CreateTextElement("Center", value.Center.ToString()));
            }
            if (value.DefaultValueMax != value.Max)
            {
                e.AppendChild(doc.CreateTextElement("Max", value.Max.ToString()));
            }
            if (value.DefaultValueMin != value.Min)
            {
                e.AppendChild(doc.CreateTextElement("Min", value.Min.ToString()));
            }
            if (value.DefaultDrawnAs != value.DrawnAs)
            {
                e.AppendChild(doc.CreateTextElement("DrawnAs", (int)value.DrawnAs));
            }

            return(e.ChildNodes.Count > 0 ? e : null);
        }
 internal Vector3DWithRandom(
     float x         = 0,
     float y         = 0,
     float z         = 0,
     float x_max     = float.MaxValue,
     float x_min     = float.MinValue,
     float y_max     = float.MaxValue,
     float y_min     = float.MinValue,
     float z_max     = float.MaxValue,
     float z_min     = float.MinValue,
     DrawnAs drawnas = Data.DrawnAs.CenterAndAmplitude,
     float x_step    = 1.0f,
     float y_step    = 1.0f,
     float z_step    = 1.0f)
 {
     X = new FloatWithRandom(x, x_max, x_min, drawnas, x_step);
     Y = new FloatWithRandom(y, y_max, y_min, drawnas, y_step);
     Z = new FloatWithRandom(z, z_max, z_min, drawnas, z_step);
     IsDynamicEquationEnabled = new Boolean();
     DynamicEquationMin       = new DynamicEquationReference();
     DynamicEquationMax       = new DynamicEquationReference();
     DrawnAs        = drawnas;
     DefaultDrawnAs = DrawnAs;
 }
Exemple #21
0
 public ViewOffsetParameter()
 {
     Distance = new Value.FloatWithRandom(3.0f, float.MaxValue, 0.0f, DrawnAs.CenterAndAmplitude, 0.5f);
 }
 public CircleParameter()
 {
     Division = new Value.Int(8, int.MaxValue, 1);
     Radius = new Value.FloatWithRandom();
     AngleStart = new Value.FloatWithRandom(0, float.MaxValue, float.MinValue);
     AngleEnd = new Value.FloatWithRandom(360, float.MaxValue, float.MinValue);
     Type = new Value.Enum<CircleType>(CircleType.Random);
 }
Exemple #23
0
 internal SoundParamater()
 {
     Wave = new Value.PathForSound("音声ファイル (*.wav)|*.wav", true, "");
     Volume = new Value.FloatWithRandom(1.0f, 1.0f, 0.0f);
     Pitch = new Value.FloatWithRandom(0.0f, 2.0f, -2.0f);
     PanType = new Value.Enum<ParamaterPanType>(ParamaterPanType.Sound2D);
     Pan = new Value.FloatWithRandom(0.0f, 1.0f, -1.0f);
     Distance = new Value.Float(10.0f);
     Delay = new Value.IntWithRandom(0, int.MaxValue, 0);
 }
 internal SphereParameter()
 {
     Radius    = new Value.FloatWithRandom(0.0f, float.MaxValue, 0.0f);
     RotationX = new Value.FloatWithRandom(0.0f);
     RotationY = new Value.FloatWithRandom(0.0f);
 }
 internal SphereParameter()
 {
     Radius = new Value.FloatWithRandom(0.0f, float.MaxValue, 0.0f);
     RotationX = new Value.FloatWithRandom(0.0f);
     RotationY = new Value.FloatWithRandom(0.0f);
 }
Exemple #26
0
 internal SinglePVAParamater()
 {
     Scale        = new Value.FloatWithRandom(1);
     Velocity     = new Value.FloatWithRandom(0);
     Acceleration = new Value.FloatWithRandom(0);
 }
Exemple #27
0
 internal FloatEasingParamater(float value = 0.0f, float max = float.MaxValue, float min = float.MinValue)
 {
     Start = new Value.FloatWithRandom(value, max, min);
     End = new Value.FloatWithRandom(value, max, min);
     StartSpeed = new Value.Enum<EasingStart>(EasingStart.Start);
     EndSpeed = new Value.Enum<EasingEnd>(EasingEnd.End);
 }
Exemple #28
0
 internal SinglePVAParamater()
 {
     Scale = new Value.FloatWithRandom(1);
     Velocity = new Value.FloatWithRandom(0);
     Acceleration = new Value.FloatWithRandom(0);
 }
Exemple #29
0
            internal SoundParamater()
            {
                if(Core.Language == Language.Japanese)
                {
                    Wave = new Value.PathForSound("音声ファイル (*.wav)|*.wav", true, "");
                }
                else if(Core.Language == Language.English)
                {
                    Wave = new Value.PathForSound("Sound File (*.wav)|*.wav", true, "");
                }

                Volume = new Value.FloatWithRandom(1.0f, 1.0f, 0.0f);
                Pitch = new Value.FloatWithRandom(0.0f, 2.0f, -2.0f);
                PanType = new Value.Enum<ParamaterPanType>(ParamaterPanType.Sound2D);
                Pan = new Value.FloatWithRandom(0.0f, 1.0f, -1.0f);
                Distance = new Value.Float(10.0f);
                Delay = new Value.IntWithRandom(0, int.MaxValue, 0);
            }
Exemple #30
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, "");
                }
            }
Exemple #31
0
 internal SoundParamater()
 {
     Wave = new Value.PathForSound(Properties.Resources.SoundFilter, true, "");
     Volume = new Value.FloatWithRandom(1.0f, 1.0f, 0.0f, DrawnAs.CenterAndAmplitude, 0.1f);
     Pitch = new Value.FloatWithRandom(0.0f, 2.0f, -2.0f, DrawnAs.CenterAndAmplitude, 0.1f);
     PanType = new Value.Enum<ParamaterPanType>(ParamaterPanType.Sound2D);
     Pan = new Value.FloatWithRandom(0.0f, 1.0f, -1.0f, DrawnAs.CenterAndAmplitude, 0.1f);
     Distance = new Value.Float(10.0f);
     Delay = new Value.IntWithRandom(0, int.MaxValue, 0);
 }
Exemple #32
0
 public SteeringBehaviorParameter()
 {
     MaxFollowSpeed = new Value.FloatWithRandom(10, float.MaxValue, 0.0f);
     SteeringSpeed  = new Value.FloatWithRandom(30, 100, 0);
 }
Exemple #33
0
 internal AxisPVAParamater()
 {
     Axis = new Value.Vector3DWithRandom(0, 1, 0);
     Rotation = new Value.FloatWithRandom(0);
     Velocity = new Value.FloatWithRandom(0);
     Acceleration = new Value.FloatWithRandom(0);
 }
Exemple #34
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, "");
            }