public TerrainMaterial(GraphicFactory factory, string terrainModelAssetName)		
		{
            _terrainModel = factory.GetAsset<TerrainModel>(terrainModelAssetName);            
            IsVisible = true;
		}
Пример #2
0
        protected override void LoadContent()
        {
            _terrainModel = Game.Content.Load<TerrainModel>(_terrainModelAssetName);

            base.LoadContent();
        }