Axiom.Samples.Terrain.TerrainSample.TerrainSample C# (CSharp) Метод

TerrainSample() публичный Метод

public TerrainSample ( ) : System.Collections.Generic
Результат System.Collections.Generic
		public TerrainSample()
		{
			Metadata[ "Title" ] = "Terrain";
			Metadata[ "Description" ] = "Demonstrates use of the terrain rendering plugin.";
			Metadata[ "Thumbnail" ] = "thumb_terrain.png";
			Metadata[ "Category" ] = "Environment";
			Metadata[ "Help" ] = "Left click and drag anywhere in the scene to look around. Let go again to show " +
			"cursor and access widgets. Use WASD keys to move. Use +/- keys when in edit mode to change content.";

			mode = Mode.Normal;
			layerEdit = 1;
			brushSizeTerrainSpace = 0.02f;
			terrainPos = new Vector3( 1000, 0, 5000 );

			// Update terrain at max 20fps
			heightUpdateRate = 1.0f / 2.0f;
		}