Exemplo n.º 1
0
        public EffectBehaviorValues()
        {
            Location = new Value.Vector3D();
            Rotation = new Value.Vector3D();
            Scale = new Value.Vector3D(1.0f, 1.0f, 1.0f);

            LocationVelocity = new Value.Vector3D();
            RotationVelocity = new Value.Vector3D();
            ScaleVelocity = new Value.Vector3D();

            RemovedTime = new Value.IntWithInifinite(0, true, int.MaxValue, 0);

            CountX = new Value.Int(1, int.MaxValue, 1);
            CountY = new Value.Int(1, int.MaxValue, 1);
            CountZ = new Value.Int(1, int.MaxValue, 1);

            Distance = new Value.Float(5.0f, float.MaxValue, 0.0f);
            TargetLocation = new Value.Vector3D();
        }
Exemplo n.º 2
0
        internal Color(
			byte r = 0,
			byte g = 0,
			byte b = 0,
			byte a = 0,
			byte r_max = byte.MaxValue,
			byte r_min = byte.MinValue,
			byte g_max = byte.MaxValue,
			byte g_min = byte.MinValue,
			byte b_max = byte.MaxValue,
			byte b_min = byte.MinValue,
			byte a_max = byte.MaxValue,
			byte a_min = byte.MinValue)
        {
            R = new Int(r, r_max, r_min);
            G = new Int(g, g_max, g_min);
            B = new Int(b, b_max, b_min);
            A = new Int(a, a_max, a_min);
        }
Exemplo n.º 3
0
            public RibbonParamater()
            {
                AlphaBlend         = new Value.Enum <AlphaBlendType>(AlphaBlendType.Blend);
                ViewpointDependent = new Value.Boolean(false);
                ColorAll           = new Value.Enum <ColorAllType>(ColorAllType.Fixed);
                ColorAll_Fixed     = new Value.Color(255, 255, 255, 255);
                ColorAll_Random    = new Value.ColorWithRandom(255, 255, 255, 255);
                ColorAll_Easing    = new ColorEasingParamater();

                Color         = new Value.Enum <ColorType>(ColorType.Default);
                Color_Fixed_L = new Value.Color(255, 255, 255, 255);
                Color_Fixed_R = new Value.Color(255, 255, 255, 255);

                Position         = new Value.Enum <PositionType>(PositionType.Default);
                Position_Fixed_L = new Value.Float(-0.5f);
                Position_Fixed_R = new Value.Float(0.5f);

                SplineDivision = new Value.Int(1, int.MaxValue, 1);

                ColorTexture = new Value.Path(Properties.Resources.ImageFilter, true, "");
            }
Exemplo n.º 4
0
        internal Vector3DEasingParamater(float defaultX = 0.0f, float defaultY = 0.0f, float defaultZ = 0.0f)
        {
            Type       = new Value.Enum <EasingType>();
            Start      = new Value.Vector3DWithRandom(defaultX, defaultY, defaultZ);
            Middle     = new Value.Vector3DWithRandom(defaultX, defaultY, defaultZ);
            End        = new Value.Vector3DWithRandom(defaultX, defaultY, defaultZ);
            StartSpeed = new Value.Enum <EasingStart>(EasingStart.Start);
            EndSpeed   = new Value.Enum <EasingEnd>(EasingEnd.End);

            IsMiddleEnabled      = new Value.Boolean(false);
            IsRandomGroupEnabled = new Value.Boolean(false);

            RandomGroupX = new Value.Int(0);
            RandomGroupY = new Value.Int(1);
            RandomGroupZ = new Value.Int(2);

            IsIndividualTypeEnabled = new Value.Boolean(false);
            TypeX = new Value.Enum <EasingType>(EasingType.Linear);
            TypeY = new Value.Enum <EasingType>(EasingType.Linear);
            TypeZ = new Value.Enum <EasingType>(EasingType.Linear);
        }
Exemplo n.º 5
0
        public OptionValues()
        {
            RenderingMode = new Value.Enum <RenderMode>(RenderMode.Normal);
            ViewerMode    = new Value.Enum <ViewMode>(ViewMode._3D);
            GridColor     = new Value.Color(255, 255, 255, 255);

            IsGridShown   = new Value.Boolean(true);
            IsXYGridShown = new Value.Boolean(false);
            IsXZGridShown = new Value.Boolean(true);
            IsYZGridShown = new Value.Boolean(false);

            GridLength = new Value.Float(2, float.MaxValue, 0.1f);

            Magnification         = new Value.Float(1, float.MaxValue, 0.00001f);
            ExternalMagnification = new Value.Float(1, float.MaxValue, 0.00001f);
            FPS        = new Value.Enum <FPSType>(FPSType._60FPS);
            Coordinate = new Value.Enum <CoordinateType>(CoordinateType.Right);

            ColorSpace = new Value.Enum <ColorSpaceType>(ColorSpaceType.GammaSpace);

            MouseRotInvX   = new Value.Boolean(false);
            MouseRotInvY   = new Value.Boolean(false);
            MouseSlideInvX = new Value.Boolean(false);
            MouseSlideInvY = new Value.Boolean(false);

            DistortionType = new Value.Enum <DistortionMethodType>(DistortionMethodType.Current);

            Font     = new Value.Enum <FontType>(FontType.Normal);
            FontSize = new Value.Int(16, 32, 8);

            MouseMappingType = new Value.Enum <MouseMappingType>(Data.MouseMappingType.Effekseer);

            LanguageSelector = new LanguageSelector();

            FileViewerViewMode  = new Value.Enum <FileViewMode>(FileViewMode.IconView);
            FileViewerIconSize  = new Value.Int(96, 512, 48);
            FloatFormatDigits   = new Value.Int(3, 9, 1);
            AutoSaveIntervalMin = new Value.Int(2, 60, 0);
        }
Exemplo n.º 6
0
        public EffectBehaviorValues()
        {
            Location = new Value.Vector3D();
            Rotation = new Value.Vector3D();
            Scale    = new Value.Vector3D(1.0f, 1.0f, 1.0f);

            LocationVelocity = new Value.Vector3D();
            RotationVelocity = new Value.Vector3D();
            ScaleVelocity    = new Value.Vector3D();

            RemovedTime = new Value.IntWithInifinite(0, true, int.MaxValue, 0);

            CountX = new Value.Int(1, int.MaxValue, 1);
            CountY = new Value.Int(1, int.MaxValue, 1);
            CountZ = new Value.Int(1, int.MaxValue, 1);

            Distance = new Value.Float(5.0f, float.MaxValue, 0.0f);

            TimeSpan = new Value.Int(0);
            ColorAll = new Value.Color(255, 255, 255, 255);

            TargetLocation = new Value.Vector3D();
        }
Exemplo n.º 7
0
 internal IntWithInifinite(int value = 0, bool infinite = false, int max = int.MaxValue, int min = int.MinValue, int step = 1)
 {
     Value = new Int(value, max, min, step);
     Infinite = new Boolean(infinite);
 }
Exemplo 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();

                ColorTexture = new Value.Path(Properties.Resources.ImageFilter, true, "");
            }
 public EdgeParameter()
 {
     EdgeThreshold    = new Value.Float(0.0f, 1.0f, 0.0f, 0.01f);
     EdgeColor        = new Value.Color(255, 255, 255, 255);
     EdgeColorScaling = new Value.Int(1, int.MaxValue, 0);
 }
Exemplo n.º 10
0
 public LocalForceFieldTurbulence()
 {
     Seed       = new Value.Int(1, int.MaxValue, 0, 1);
     FieldScale = new Value.Float(4.0f, float.MaxValue, 0, 0.1f);
     Octave     = new Value.Int(1, 10, 1, 1);
 }
Exemplo n.º 11
0
 public UVAnimationParamater()
 {
     Start = new Value.Vector2D();
     Size = new Value.Vector2D();
     FrameLength = new Value.Int(1, int.MaxValue, 1);
     FrameCountX = new Value.Int(1, int.MaxValue, 1);
     FrameCountY = new Value.Int(1, int.MaxValue, 1);
     LoopType = new Value.Enum<LoopType>(RendererCommonValues.LoopType.Once);
 }
Exemplo n.º 12
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, "");
                }
            }
Exemplo n.º 13
0
 public GlobalValues()
 {
     RandomSeed = new Value.Int(-1, int.MaxValue - 1);
 }
Exemplo n.º 14
0
 internal IntWithInifinite(int value = 0, bool infinite = false, int max = int.MaxValue, int min = int.MinValue, int step = 1)
 {
     Value    = new Int(value, max, min, step);
     Infinite = new Boolean(infinite);
 }
Exemplo n.º 15
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);
 }