Ejemplo n.º 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);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 3
0
 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);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 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, "");
                }
            }
Ejemplo n.º 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);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 11
0
        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);
        }
Ejemplo n.º 12
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, "");
            }
Ejemplo n.º 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;
 }
Ejemplo n.º 14
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;
        }
Ejemplo n.º 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);
            }
Ejemplo n.º 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);
        }
Ejemplo n.º 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;
        }
Ejemplo n.º 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();
            }
        }
Ejemplo n.º 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);
        }
Ejemplo n.º 20
0
 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;
 }
Ejemplo n.º 21
0
 public ViewOffsetParameter()
 {
     Distance = new Value.FloatWithRandom(3.0f, float.MaxValue, 0.0f, DrawnAs.CenterAndAmplitude, 0.5f);
 }
Ejemplo n.º 22
0
 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);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 24
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);
 }
Ejemplo n.º 25
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);
 }
Ejemplo n.º 26
0
 internal SinglePVAParamater()
 {
     Scale        = new Value.FloatWithRandom(1);
     Velocity     = new Value.FloatWithRandom(0);
     Acceleration = new Value.FloatWithRandom(0);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 28
0
 internal SinglePVAParamater()
 {
     Scale = new Value.FloatWithRandom(1);
     Velocity = new Value.FloatWithRandom(0);
     Acceleration = new Value.FloatWithRandom(0);
 }
Ejemplo n.º 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);
            }
Ejemplo n.º 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, "");
                }
            }
Ejemplo n.º 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);
 }
Ejemplo n.º 32
0
 public SteeringBehaviorParameter()
 {
     MaxFollowSpeed = new Value.FloatWithRandom(10, float.MaxValue, 0.0f);
     SteeringSpeed  = new Value.FloatWithRandom(30, 100, 0);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 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, "");
            }