Exemplo n.º 1
0
 public NurbsCurveParameter(Value.Path basepath)
 {
     FilePath  = new Value.PathForCurve(basepath, Resources.GetString("CurveFilter"), true, "");
     Scale     = new Value.Float(1.0f);
     MoveSpeed = new Value.Float(1.0f, float.MaxValue, 0.0f);
     LoopType  = new Value.Enum <NurbsLoopType>(NurbsLoopType.Repeat);
 }
Exemplo n.º 2
0
            public SpriteParamater(Path basepath)
            {
                RenderingOrder = new Value.Enum <Data.RenderingOrder>(Data.RenderingOrder.FirstCreatedInstanceIsFirst);

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

                ColorAll        = new Value.Enum <StandardColorType>(StandardColorType.Fixed);
                ColorAll_Fixed  = new Value.Color(255, 255, 255, 255);
                ColorAll_Random = new Value.ColorWithRandom(255, 255, 255, 255);
                ColorAll_Easing = new ColorEasingParamater();
                ColorAll_FCurve = new ColorFCurveParameter();

                Color          = new Value.Enum <ColorType>(ColorType.Default);
                Color_Fixed_LL = new Value.Color(255, 255, 255, 255);
                Color_Fixed_LR = new Value.Color(255, 255, 255, 255);
                Color_Fixed_UL = new Value.Color(255, 255, 255, 255);
                Color_Fixed_UR = new Value.Color(255, 255, 255, 255);


                Position          = new Value.Enum <PositionType>(PositionType.Default);
                Position_Fixed_LL = new Value.Vector2D(-0.5f, -0.5f);
                Position_Fixed_LR = new Value.Vector2D(0.5f, -0.5f);
                Position_Fixed_UL = new Value.Vector2D(-0.5f, 0.5f);
                Position_Fixed_UR = new Value.Vector2D(0.5f, 0.5f);
                ColorTexture      = new Value.Path(basepath, "", true, "");
            }
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);

                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, "");
                }
            }
 public AdvancedRenderCommonValues(Value.Path basepath)
 {
     AlphaTextureParam        = new AlphaTextureParameter(basepath);
     UVDistortionTextureParam = new UVDistortionTextureParameter(basepath);
     AlphaCutoffParam         = new AlphaCutoffParameter();
     BlendTextureParams       = new BlendTextureParameters(basepath);
     SoftParticleParams       = new SoftParticleParameters();
 }
Exemplo n.º 5
0
            public ModelParamater(Value.Path basepath)
            {
                Model = new Value.PathForModel(basepath, Resources.GetString("ModelFilter"), true, "");

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

                Culling = new Value.Enum <CullingValues>(Data.CullingValues.Front);
            }
        public AdvancedRenderCommonValues(Value.Path basepath)
        {
            EnableAlphaTexture = new Value.Boolean(false);
            AlphaTextureParam  = new AlphaTextureParameter(basepath);

            EnableUVDistortionTexture = new Value.Boolean(false);
            UVDistortionTextureParam  = new UVDistortionTextureParameter(basepath);

            AlphaCutoffParam = new AlphaCutoffParameter();
        }
        public BlendTextureParameters(Value.Path basepath)
        {
            BlendTextureParam = new BlendTextureParameter(basepath);

            EnableBlendAlphaTexture = new Value.Boolean(false);
            BlendAlphaTextureParam  = new BlendAlphaTextureParameter(basepath);

            EnableBlendUVDistortionTexture = new Value.Boolean(false);
            BlendUVDistortionTextureParam  = new BlendUVDistortionTextureParameter(basepath);
        }
Exemplo n.º 8
0
 internal GenerationLocationValues(Value.Path basepath)
 {
     EffectsRotation = new Value.Boolean(false);
     Type            = new Value.Enum <ParameterType>();
     Point           = new PointParameter();
     Sphere          = new SphereParameter();
     Model           = new ModelParameter(basepath);
     Circle          = new CircleParameter();
     Line            = new LineParameter();
 }
Exemplo n.º 9
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);
 }
Exemplo n.º 10
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, "");
                }
            }
 public BlendAlphaTextureParameter(Value.Path basepath)
 {
     Texture     = new Value.PathForImage(basepath, Resources.GetString("ImageFilter"), true, "");
     Filter      = new Value.Enum <RendererCommonValues.FilterType>(RendererCommonValues.FilterType.Linear);
     Wrap        = new Value.Enum <RendererCommonValues.WrapType>(RendererCommonValues.WrapType.Repeat);
     UV          = new Value.Enum <RendererCommonValues.UVType>();
     UVDefault   = new RendererCommonValues.UVDefaultParamater();
     UVFixed     = new RendererCommonValues.UVFixedParamater();
     UVAnimation = new RendererCommonValues.UVAnimationParamater();
     UVScroll    = new RendererCommonValues.UVScrollParamater();
     UVFCurve    = new RendererCommonValues.UVFCurveParamater();
 }
 public UVDistortionTextureParameter(Value.Path basepath)
 {
     Texture = new Value.PathForImage(basepath, Resources.GetString("ImageFilter"), true, "");
     UVDistortionIntensity = new Value.Float(0.01f, 100.0f, -100.0f, 0.01f);
     Filter      = new Value.Enum <RendererCommonValues.FilterType>(RendererCommonValues.FilterType.Linear);
     Wrap        = new Value.Enum <RendererCommonValues.WrapType>(RendererCommonValues.WrapType.Repeat);
     UV          = new Value.Enum <RendererCommonValues.UVType>();
     UVDefault   = new RendererCommonValues.UVDefaultParamater();
     UVFixed     = new RendererCommonValues.UVFixedParamater();
     UVAnimation = new RendererCommonValues.UVAnimationParamater();
     UVScroll    = new RendererCommonValues.UVScrollParamater();
     UVFCurve    = new RendererCommonValues.UVFCurveParamater();
 }
Exemplo n.º 13
0
        public static void LoadFromElement(XmlElement e, Value.Path value, bool isClip)
        {
            var text = e.GetText();

            if (!isClip)
            {
                value.SetRelativePath(text);
            }
            else
            {
                value.SetAbsolutePath(text);
            }
        }
Exemplo n.º 14
0
            public ModelParameter()
            {
                if (Core.Language == Language.Japanese)
                {
                    Model = new Value.Path("モデルファイル (*.efkmodel)|*.efkmodel", true, "");
                }
                else
                {
                    Model = new Value.Path("Model File (*.efkmodel)|*.efkmodel", true, "");
                }

                Type = new Value.Enum <ModelType>(ModelType.Random);
            }
Exemplo n.º 15
0
            public ModelParamater()
            {
                Model         = new Value.Path("モデルファイル (*.efkmodel)|*.efkmodel", true, "");
                NormalTexture = new Value.PathForImage("画像ファイル (*.png)|*.png", true, "");
                Lighting      = new Value.Boolean(true);
                Culling       = new Value.Enum <CullingValues>(Data.CullingValues.Front);

                Color        = new Value.Enum <StandardColorType>(StandardColorType.Fixed);
                Color_Fixed  = new Value.Color(255, 255, 255, 255);
                Color_Random = new Value.ColorWithRandom(255, 255, 255, 255);
                Color_Easing = new ColorEasingParamater();
                Color_FCurve = new ColorFCurveParameter();
            }
Exemplo n.º 16
0
            public ModelParamater()
            {
                Model         = new Value.Path(Properties.Resources.ModelFilter, true, "");
                NormalTexture = new Value.PathForImage(Properties.Resources.ImageFilter, true, "");

                Lighting = new Value.Boolean(true);
                Culling  = new Value.Enum <CullingValues>(Data.CullingValues.Front);

                Color        = new Value.Enum <StandardColorType>(StandardColorType.Fixed);
                Color_Fixed  = new Value.Color(255, 255, 255, 255);
                Color_Random = new Value.ColorWithRandom(255, 255, 255, 255);
                Color_Easing = new ColorEasingParamater();
                Color_FCurve = new ColorFCurveParameter();
            }
Exemplo n.º 17
0
            public ModelParamater(Value.Path basepath)
            {
                Model = new Value.PathForModel(basepath, Resources.GetString("ModelFilter"), true, "");

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

                Culling = new Value.Enum <CullingValues>(Data.CullingValues.Front);

                Color        = new Value.Enum <StandardColorType>(StandardColorType.Fixed);
                Color_Fixed  = new Value.Color(255, 255, 255, 255);
                Color_Random = new Value.ColorWithRandom(255, 255, 255, 255);
                Color_Easing = new ColorEasingParamater();
                Color_FCurve = new ColorFCurveParameter();
            }
Exemplo n.º 18
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, "");
            }
Exemplo n.º 19
0
        internal RendererCommonValues(Value.Path basepath)
        {
            BasePath     = basepath;
            Material     = new Value.Enum <MaterialType>(MaterialType.Default);
            MaterialFile = new MaterialFileParameter(this);

            EmissiveScaling = new Value.Float(1.0f, float.MaxValue, 0.0f);

            ColorTexture = new Value.PathForImage(basepath, Resources.GetString("ImageFilter"), true, "");
            Filter       = new Value.Enum <FilterType>(FilterType.Linear);
            Wrap         = new Value.Enum <WrapType>(WrapType.Repeat);

            NormalTexture = new Value.PathForImage(basepath, Resources.GetString("ImageFilter"), true, "");
            Filter2       = new Value.Enum <FilterType>(FilterType.Linear);
            Wrap2         = new Value.Enum <WrapType>(WrapType.Repeat);

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

            FadeInType = new Value.Enum <FadeType>(FadeType.None);
            FadeInNone = new NoneParamater();
            FadeIn     = new FadeInParamater();

            FadeOutType = new Value.Enum <FadeType>();
            FadeOutNone = new NoneParamater();
            FadeOut     = new FadeOutParamater();

            UV = new Value.Enum <UVType>();

            UVTextureReferenceTarget = new Value.Enum <UVTextureReferenceTargetType>(UVTextureReferenceTargetType.Texture1);

            UVDefault   = new UVDefaultParamater();
            UVFixed     = new UVFixedParamater();
            UVAnimation = new UVAnimationSupportedFrameBlendParameter();
            UVScroll    = new UVScrollParamater();
            UVFCurve    = new UVFCurveParamater();

            ZWrite = new Value.Boolean(false);
            ZTest  = new Value.Boolean(true);

            ColorInheritType = new Value.Enum <ParentEffectType>(ParentEffectType.NotBind);

            DistortionIntensity = new Value.Float(1.0f, float.MaxValue, float.MinValue, 0.1f);

            CustomData1 = new CustomDataParameter(1);
            CustomData2 = new CustomDataParameter(2);
        }
Exemplo n.º 20
0
        internal LocationValues(Value.Path basepath)
        {
            Type           = new Value.Enum <ParamaterType>(ParamaterType.Fixed);
            Fixed          = new FixedParamater();
            PVA            = new PVAParamater();
            Easing         = new Vector3DEasingParamater();
            LocationFCurve = new Vector3DFCurveParameter();
            NurbsCurve     = new NurbsCurveParameter(basepath);
            ViewOffset     = new ViewOffsetParameter();

            // dynamic parameter
            Fixed.Location.CanSelectDynamicEquation   = true;
            PVA.Location.CanSelectDynamicEquation     = true;
            PVA.Velocity.CanSelectDynamicEquation     = true;
            PVA.Acceleration.CanSelectDynamicEquation = true;
            Easing.Start.CanSelectDynamicEquation     = true;
            Easing.End.CanSelectDynamicEquation       = true;
        }
Exemplo n.º 21
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);

                ColorTexture = new Value.Path(Properties.Resources.ImageFilter, true, "");
            }
Exemplo n.º 22
0
        public static XmlElement SaveToElement(XmlDocument doc, string element_name, Value.Path value, bool isClip)
        {
            if (value.DefaultValue == value.GetAbsolutePath())
            {
                return(null);
            }

            var text = "";

            if (!isClip && value.IsRelativeSaved)
            {
                text = value.GetRelativePath();
            }
            else
            {
                text = value.GetAbsolutePath();
            }

            return(doc.CreateTextElement(element_name, text));
        }
Exemplo n.º 23
0
            public RibbonParamater(Path basepath)
            {
                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(basepath, Resources.GetString("ImageFilter"), true, "");
            }
Exemplo n.º 24
0
 public ModelParameter()
 {
     Model = new Value.Path(Properties.Resources.ModelFilter, true, "");
     Type = new Value.Enum<ModelType>(ModelType.Random);
 }
Exemplo n.º 25
0
 internal NodeRoot()
     : base(null)
 {
     path = new Value.Path(null, Resources.GetString("EffekseerParticleFilter"), false);
     Name.SetValueDirectly("Root");
 }
Exemplo n.º 26
0
            public ModelParamater()
            {
                Model = new Value.Path(Properties.Resources.ModelFilter, true, "");
                NormalTexture = new Value.PathForImage(Properties.Resources.ImageFilter, true, "");

                Lighting = new Value.Boolean(true);
                Culling = new Value.Enum<CullingValues>(Data.CullingValues.Front);

                Color = new Value.Enum<StandardColorType>(StandardColorType.Fixed);
                Color_Fixed = new Value.Color(255, 255, 255, 255);
                Color_Random = new Value.ColorWithRandom(255, 255, 255, 255);
                Color_Easing = new ColorEasingParamater();
                Color_FCurve = new ColorFCurveParameter();
            }
Exemplo n.º 27
0
            public SpriteParamater()
            {
                RenderingOrder = new Value.Enum<Data.RenderingOrder>(Data.RenderingOrder.FirstCreatedInstanceIsFirst);

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

                ColorAll = new Value.Enum<StandardColorType>(StandardColorType.Fixed);
                ColorAll_Fixed = new Value.Color(255, 255, 255, 255);
                ColorAll_Random = new Value.ColorWithRandom(255, 255, 255, 255);
                ColorAll_Easing = new ColorEasingParamater();
                ColorAll_FCurve = new ColorFCurveParameter();

                Color = new Value.Enum<ColorType>(ColorType.Default);
                Color_Fixed_LL = new Value.Color(255, 255, 255, 255);
                Color_Fixed_LR = new Value.Color(255, 255, 255, 255);
                Color_Fixed_UL = new Value.Color(255, 255, 255, 255);
                Color_Fixed_UR = new Value.Color(255, 255, 255, 255);

                Position = new Value.Enum<PositionType>(PositionType.Default);
                Position_Fixed_LL = new Value.Vector2D(-0.5f, -0.5f);
                Position_Fixed_LR = new Value.Vector2D(0.5f, -0.5f);
                Position_Fixed_UL = new Value.Vector2D(-0.5f, 0.5f);
                Position_Fixed_UR = new Value.Vector2D(0.5f, 0.5f);
                ColorTexture = new Value.Path("画像ファイル (*.png)|*.png", true, "");
            }
Exemplo n.º 28
0
            public ModelParamater()
            {
                if (Core.Language == Language.Japanese)
                {
                    Model = new Value.Path("モデルファイル (*.efkmodel)|*.efkmodel", true, "");
                    NormalTexture = new Value.PathForImage("画像ファイル (*.png)|*.png", true, "");
                }
                else if (Core.Language == Language.English)
                {
                    Model = new Value.Path("Model File (*.efkmodel)|*.efkmodel", true, "");
                    NormalTexture = new Value.PathForImage("Image File (*.png)|*.png", true, "");
                }

                Lighting = new Value.Boolean(true);
                Culling = new Value.Enum<CullingValues>(Data.CullingValues.Front);

                Color = new Value.Enum<StandardColorType>(StandardColorType.Fixed);
                Color_Fixed = new Value.Color(255, 255, 255, 255);
                Color_Random = new Value.ColorWithRandom(255, 255, 255, 255);
                Color_Easing = new ColorEasingParamater();
                Color_FCurve = new ColorFCurveParameter();
            }
Exemplo n.º 29
0
 internal SoundValues(Value.Path basepath)
 {
     Type  = new Value.Enum <ParamaterType>(ParamaterType.None);
     None  = new NoneParamater();
     Sound = new SoundParamater(basepath);
 }
Exemplo n.º 30
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);

                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.º 31
0
            public ModelParameter()
            {
                if(Core.Language == Language.Japanese)
                {
                    Model = new Value.Path("モデルファイル (*.efkmodel)|*.efkmodel", true, "");
                }
                else
                {
                    Model = new Value.Path("Model File (*.efkmodel)|*.efkmodel", true, "");
                }

                Type = new Value.Enum<ModelType>(ModelType.Random);
            }
 public AdvancedRenderCommonValues2(Value.Path basepath)
 {
     EnableBlendTexture = new Value.Boolean(false);
     BlendTextureParams = new BlendTextureParameters(basepath);
 }
Exemplo n.º 33
0
 public ModelParameter()
 {
     Model = new Value.Path(Properties.Resources.ModelFilter, true, "");
     Type  = new Value.Enum <ModelType>(ModelType.Random);
 }
Exemplo 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();

                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.º 35
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, "");
            }
Exemplo n.º 36
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);

                ColorTexture = new Value.Path(Properties.Resources.ImageFilter, true, "");
            }