Axiom.Demos.Fresnel.Reflection_BeforeUpdate C# (CSharp) Method

Reflection_BeforeUpdate() private method

private Reflection_BeforeUpdate ( RenderTargetEventArgs e ) : void
e Axiom.Graphics.RenderTargetEventArgs
return void
		private void Reflection_BeforeUpdate( RenderTargetEventArgs e )
		{
			planeEnt.IsVisible = false;

			for ( int i = 0; i < belowWaterEnts.Count; i++ )
			{
				( (Entity)belowWaterEnts[ i ] ).IsVisible = false;
			}

			theCam.EnableReflection( reflectionPlane );
		}