コード例 #1
0
ファイル: WhiteNoise.cs プロジェクト: tanis2000/FEZ
 public override void Initialize()
 {
   base.Initialize();
   this.NoiseTexture = this.CMProvider.Get(CM.EndCutscene).Load<Texture2D>("Other Textures/noise");
   this.sTvOff = this.CMProvider.Get(CM.EndCutscene).Load<SoundEffect>("Sounds/Ending/Cutscene64/TVOff");
   this.VignetteEffect = new VignetteEffect();
   this.ScanlineEffect = new ScanlineEffect();
 }
コード例 #2
0
ファイル: DotsAplenty.cs プロジェクト: tanis2000/FEZ
 public override void Initialize()
 {
   base.Initialize();
   this.MakeDot();
   this.RtHandle = this.TargetRenderer.TakeTarget();
   this.VignetteEffect = new VignetteEffect();
   this.ScanlineEffect = new ScanlineEffect();
   this.NoiseTexture = this.CMProvider.Get(CM.EndCutscene).Load<Texture2D>("Other Textures/noise");
   this.sAppear = this.CMProvider.Get(CM.EndCutscene).Load<SoundEffect>("Sounds/Ending/Cutscene64/DotAppear");
   this.sStartMove = this.CMProvider.Get(CM.EndCutscene).Load<SoundEffect>("Sounds/Ending/Cutscene64/DotStartMove");
   this.sProgressiveAppear = this.CMProvider.Get(CM.EndCutscene).Load<SoundEffect>("Sounds/Ending/Cutscene64/DotsProgressiveAppear");
   this.sNoise = this.CMProvider.Get(CM.EndCutscene).Load<SoundEffect>("Sounds/Ending/Cutscene64/WhiteNoise");
 }
コード例 #3
0
ファイル: DotsAplenty.cs プロジェクト: tanis2000/FEZ
 protected override void Dispose(bool disposing)
 {
   base.Dispose(disposing);
   this.TargetRenderer.ReturnTarget(this.RtHandle);
   this.RtHandle = (RenderTargetHandle) null;
   this.CloneMesh.Dispose();
   this.DotMesh.Dispose();
   this.CloneMesh = this.DotMesh = (Mesh) null;
   this.VignetteEffect.Dispose();
   this.VignetteEffect = (VignetteEffect) null;
   this.ScanlineEffect.Dispose();
   this.ScanlineEffect = (ScanlineEffect) null;
   this.DotEffect = (InstancedDotEffect) null;
 }