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

CreateScalingPlane() private method

private CreateScalingPlane ( ) : void
return void
		private void CreateScalingPlane()
		{
			// create a prefab plane
			Entity plane = scene.CreateEntity( "Plane", PrefabEntity.Plane );
			// give the plane a texture
			plane.MaterialName = "TextureFX/BumpyMetal";
			// add entity to the root scene node
			SceneNode node = scene.RootSceneNode.CreateChildSceneNode( new Vector3( -250, -40, -100 ), Quaternion.Identity );
			node.AttachObject( plane );
		}