RenderDistortion() public static method

public static RenderDistortion ( Material material, RenderTexture source, RenderTexture destination, float angle, Vector2 center, Vector2 radius ) : void
material Material
source RenderTexture
destination RenderTexture
angle float
center Vector2
radius Vector2
return void
コード例 #1
0
        // Called by camera to apply image effect
        void OnRenderImage(RenderTexture source, RenderTexture destination)
        {
            if (VortexRef.activeSelf)
            {
                if (counter < 160)
                {
                    center = new Vector2(center.x + 0.03f, center.y);
                    counter++;
                }
                else
                {
                    counter = 0;
                    center  = new Vector2(-0.2f, center.y);
                }
            }
            else
            {
                counter = 0;
                center  = new Vector2(-0.2f, center.y);
            }


            ImageEffects.RenderDistortion(material, source, destination, angle, center, radius);
        }
コード例 #2
0
 // Token: 0x06000BC0 RID: 3008 RVA: 0x0004A15B File Offset: 0x0004855B
 private void OnRenderImage(RenderTexture source, RenderTexture destination)
 {
     ImageEffects.RenderDistortion(base.material, source, destination, this.angle, this.center, this.radius);
 }
コード例 #3
0
ファイル: Vortex.cs プロジェクト: Grivik/Zelda_VR
 // Called by camera to apply image effect
 void OnRenderImage(RenderTexture source, RenderTexture destination)
 {
     ImageEffects.RenderDistortion(material, source, destination, angle, center, radius);
 }
コード例 #4
0
 // Token: 0x060081DA RID: 33242 RVA: 0x002C8317 File Offset: 0x002C6517
 private void OnRenderImage(RenderTexture HLBKCLPNHEB, RenderTexture BMMLHGHKBNM)
 {
     ImageEffects.RenderDistortion(base.NBPKMLMCHFN, HLBKCLPNHEB, BMMLHGHKBNM, this.angle, this.center, this.radius);
 }
コード例 #5
0
 // Token: 0x060081D3 RID: 33235 RVA: 0x002C8214 File Offset: 0x002C6414
 private void AMKFLDKCIJO(RenderTexture HLBKCLPNHEB, RenderTexture BMMLHGHKBNM)
 {
     ImageEffects.RenderDistortion(base.LMLENGFLEBD(), HLBKCLPNHEB, BMMLHGHKBNM, this.angle, this.center, this.radius);
 }
コード例 #6
0
 // Token: 0x060081D0 RID: 33232 RVA: 0x002C81B1 File Offset: 0x002C63B1
 private void HDEKADONMPE(RenderTexture HLBKCLPNHEB, RenderTexture BMMLHGHKBNM)
 {
     ImageEffects.RenderDistortion(base.LDNADDJMIPK(), HLBKCLPNHEB, BMMLHGHKBNM, this.angle, this.center, this.radius);
 }
コード例 #7
0
 // Token: 0x060081FE RID: 33278 RVA: 0x002C9552 File Offset: 0x002C7752
 private void DDBNDCAFHOA(RenderTexture HLBKCLPNHEB, RenderTexture BMMLHGHKBNM)
 {
     ImageEffects.RenderDistortion(base.FGENHBKMPDA(), HLBKCLPNHEB, BMMLHGHKBNM, this.angle, this.center, this.radius);
 }
コード例 #8
0
 // Token: 0x060081FA RID: 33274 RVA: 0x002C94CE File Offset: 0x002C76CE
 private void GHOAOEKHEKI(RenderTexture HLBKCLPNHEB, RenderTexture BMMLHGHKBNM)
 {
     ImageEffects.RenderDistortion(base.CIAFLBFJLEJ(), HLBKCLPNHEB, BMMLHGHKBNM, this.angle, this.center, this.radius);
 }