Beispiel #1
0
        public static NewImageEffect OldPhoto()
        {
            NewEffectBuilder builder = new NewEffectBuilder();
            NewImageEffect   e       = builder.UI(NewImageEffect.ImageType.Back)
                                       .Operate(NewImageEffect.OperateMode.OldPhoto)
                                       .Get();

            return(e);
        }
Beispiel #2
0
        public static NewImageEffect DeleteSpriteByDepth(int depth)
        {
            NewEffectBuilder builder = new NewEffectBuilder();
            NewImageEffect   e       = builder.UI(depth)
                                       .Operate(NewImageEffect.OperateMode.Delete)
                                       .Get();

            return(e);
        }
Beispiel #3
0
        public static NewImageEffect RemoveAllPic()
        {
            NewEffectBuilder builder = new NewEffectBuilder();
            NewImageEffect   e       = builder.UI(NewImageEffect.ImageType.AllPic)
                                       .Operate(NewImageEffect.OperateMode.Delete)
                                       .Get();

            return(e);
        }
Beispiel #4
0
        public static NewImageEffect Wait(float time)
        {
            NewEffectBuilder builder = new NewEffectBuilder();
            NewImageEffect   e       = builder.UI(NewImageEffect.ImageType.All)
                                       .TotalTime(time)
                                       .Operate(NewImageEffect.OperateMode.Wait)
                                       .Get();

            return(e);
        }
Beispiel #5
0
        public static NewImageEffect SetAlphaByDepth(int depth, float alpha)
        {
            NewEffectBuilder builder = new NewEffectBuilder();
            NewImageEffect   e       = builder.UI(depth)
                                       .Operate(NewImageEffect.OperateMode.SetAlpha)
                                       .FinalAlpha(alpha)
                                       .Get();

            return(e);
        }
Beispiel #6
0
        public static NewImageEffect SetAlphaBackSprite(float alpha)
        {
            NewEffectBuilder builder = new NewEffectBuilder();
            NewImageEffect   e       = builder.UI(NewImageEffect.ImageType.Back)
                                       .FinalAlpha(alpha)
                                       .Operate(NewImageEffect.OperateMode.SetAlpha)
                                       .Get();

            return(e);
        }
Beispiel #7
0
        public static NewImageEffect SetDefaultPostionByDepth(int depth, string pstr)
        {
            NewEffectBuilder builder = new NewEffectBuilder();
            NewImageEffect   e       = builder.UI(depth)
                                       .Operate(NewImageEffect.OperateMode.SetPos)
                                       .FinalPosition(pstr)
                                       .Get();

            return(e);
        }
Beispiel #8
0
        public static NewImageEffect TransBackSprite(float time)
        {
            NewEffectBuilder builder = new NewEffectBuilder();
            NewImageEffect   e       = builder.UI(NewImageEffect.ImageType.Back)
                                       .TotalTime(time)
                                       .Operate(NewImageEffect.OperateMode.Trans)
                                       .Get();

            return(e);
        }
Beispiel #9
0
        public static NewImageEffect SetSpriteByDepth(int depth, string sprite)
        {
            NewEffectBuilder builder = new NewEffectBuilder();
            NewImageEffect   e       = builder.UI(depth)
                                       .Source(sprite)
                                       .Operate(NewImageEffect.OperateMode.SetSprite)
                                       .Get();

            return(e);
        }
Beispiel #10
0
        public static NewImageEffect PreTransBackSprite(string sprite)
        {
            NewEffectBuilder builder = new NewEffectBuilder();
            NewImageEffect   e       = builder.UI(-1)
                                       .Source(sprite)
                                       .Operate(NewImageEffect.OperateMode.PreTrans)
                                       .Get();

            return(e);
        }
Beispiel #11
0
        public static NewImageEffect SetBackSprite(string sprite)
        {
            NewEffectBuilder builder = new NewEffectBuilder();
            NewImageEffect   e       = builder.UI(NewImageEffect.ImageType.Back)
                                       .Source(sprite)
                                       .Operate(NewImageEffect.OperateMode.SetSprite)
                                       .Get();

            return(e);
        }
Beispiel #12
0
        public static NewImageEffect SetPostionByDepth(int depth, Vector3 position)
        {
            NewEffectBuilder builder = new NewEffectBuilder();
            NewImageEffect   e       = builder.UI(depth)
                                       .Operate(NewImageEffect.OperateMode.SetPos)
                                       .FinalPosition(position)
                                       .Get();

            return(e);
        }
Beispiel #13
0
        public static NewImageEffect TransByDepth(int depth, float time)
        {
            NewEffectBuilder builder = new NewEffectBuilder();
            NewImageEffect   e       = builder.UI(depth)
                                       .TotalTime(time)
                                       .Operate(NewImageEffect.OperateMode.Trans)
                                       .Get();

            return(e);
        }
Beispiel #14
0
        public static NewImageEffect PreTransByDepth(int depth, string sprite, string postision)
        {
            NewEffectBuilder builder = new NewEffectBuilder();
            NewImageEffect   e       = builder.UI(depth)
                                       .Source(sprite)
                                       .Operate(NewImageEffect.OperateMode.PreTrans)
                                       .FinalPosition(postision)
                                       .Get();

            return(e);
        }
Beispiel #15
0
        public static NewImageEffect FadeInBackSprite(float time)
        {
            NewEffectBuilder builder = new NewEffectBuilder();
            NewImageEffect   e       = builder.UI(NewImageEffect.ImageType.Back)
                                       .TotalTime(time)
                                       .Operate(NewImageEffect.OperateMode.Fade)
                                       .FinalAlpha(1)
                                       .Get();

            return(e);
        }
Beispiel #16
0
        public static NewImageEffect FadeOutByDepth(int depth, float time)
        {
            NewEffectBuilder builder = new NewEffectBuilder();
            NewImageEffect   e       = builder.UI(depth)
                                       .TotalTime(time)
                                       .Operate(NewImageEffect.OperateMode.Fade)
                                       .FinalAlpha(0)
                                       .Get();

            return(e);
        }
Beispiel #17
0
        public static NewImageEffect MoveDefaultByDepth(int depth, string pstr, float time)
        {
            NewEffectBuilder builder = new NewEffectBuilder();
            NewImageEffect   e       = builder.UI(depth)
                                       .TotalTime(time)
                                       .Operate(NewImageEffect.OperateMode.Move)
                                       .FinalPosition(pstr)
                                       .Get();

            return(e);
        }
Beispiel #18
0
        public static NewImageEffect FadeOutAllPic(float time)
        {
            NewEffectBuilder builder = new NewEffectBuilder();
            NewImageEffect   e       = builder.UI(NewImageEffect.ImageType.AllPic)
                                       .TotalTime(time)
                                       .Operate(NewImageEffect.OperateMode.Fade)
                                       .FinalAlpha(0)
                                       .Get();

            return(e);
        }
Beispiel #19
0
        public static NewImageEffect MoveByDepth(int depth, Vector3 final, float time)
        {
            NewEffectBuilder builder = new NewEffectBuilder();
            NewImageEffect   e       = builder.UI(depth)
                                       .TotalTime(time)
                                       .Operate(NewImageEffect.OperateMode.Move)
                                       .FinalPosition(final)
                                       .Get();

            return(e);
        }
Beispiel #20
0
        public static NewImageEffect Shutter(string sprite, string direction, float time)
        {
            NewEffectBuilder builder = new NewEffectBuilder();
            NewImageEffect   e       = builder.UI(NewImageEffect.ImageType.Back)
                                       .Source(sprite)
                                       .TotalTime(time)
                                       .Direction(direction)
                                       .Operate(NewImageEffect.OperateMode.Shutter)
                                       .Get();

            return(e);
        }
Beispiel #21
0
        public static NewImageEffect WindowShake(float v, int freq, float time)
        {
            NewEffectBuilder builder = new NewEffectBuilder();
            NewImageEffect   e       = builder.UI(NewImageEffect.ImageType.All)
                                       .TotalTime(time)
                                       .Operate(NewImageEffect.OperateMode.WinShake)
                                       .Variation(v)
                                       .Frequency(freq)
                                       .Get();

            return(e);
        }
Beispiel #22
0
        public static NewImageEffect SpriteShakeByDepth(int depth, float v, int freq, float time)
        {
            NewEffectBuilder builder = new NewEffectBuilder();
            NewImageEffect   e       = builder.UI(depth)
                                       .TotalTime(time)
                                       .Operate(NewImageEffect.OperateMode.Shake)
                                       .Variation(v)
                                       .Frequency(freq)
                                       .Get();

            return(e);
        }
Beispiel #23
0
        public static NewImageEffect Mask(string sprite, string mask, float time)
        {
            NewEffectBuilder builder = new NewEffectBuilder();
            NewImageEffect   e       = builder.UI(NewImageEffect.ImageType.Back)
                                       .Source(sprite)
                                       .TotalTime(time)
                                       .Mask(mask)
                                       .Operate(NewImageEffect.OperateMode.Mask)
                                       .Get();

            return(e);
        }
Beispiel #24
0
        public static NewImageEffect Circle(string sprite, bool inverse, float time)
        {
            NewEffectBuilder builder = new NewEffectBuilder();
            NewImageEffect   e       = builder.UI(NewImageEffect.ImageType.Back)
                                       .Source(sprite)
                                       .TotalTime(time)
                                       .Direction(inverse)
                                       .Operate(NewImageEffect.OperateMode.Circle)
                                       .Get();

            return(e);
        }