Axiom.Core.Frustum.EnableReflection C# (CSharp) Method

EnableReflection() public method

Modifies this frustum so it always renders from the reflection of itself through the plane specified. Note that this version of the method links to a plane so that changes to it are picked up automatically.
This is obviously useful for performing planar reflections.
public EnableReflection ( IDerivedPlaneProvider plane ) : void
plane IDerivedPlaneProvider
return void
		public virtual void EnableReflection( IDerivedPlaneProvider plane )
		{
			isReflected = true;
			linkedReflectionPlane = plane;
			_reflectionPlane = linkedReflectionPlane.DerivedPlane;
			_reflectionMatrix = Utility.BuildReflectionMatrix( _reflectionPlane );
			lastLinkedReflectionPlane = _reflectionPlane;
			InvalidateView();
		}

Same methods

Frustum::EnableReflection ( Plane plane ) : void