Axiom.Demos.TextureFX.CreateWateryPlane C# (CSharp) Method

CreateWateryPlane() private method

private CreateWateryPlane ( ) : void
return void
		private void CreateWateryPlane()
		{
			// create a prefab plane
			Entity plane = scene.CreateEntity( "WaterPlane", PrefabEntity.Plane );
			// give the plane a texture
			plane.MaterialName = "TextureFX/Water";
			// add entity to the root scene node
			scene.RootSceneNode.AttachObject( plane );
		}
	}