Axiom.Components.Terrain.TerrainMaterialGenerator.Generate C# (CSharp) Method

Generate() public method

Generate a material for the given terrain using the active profile.
public Generate ( Axiom.Components.Terrain.Terrain terrain ) : Material
terrain Axiom.Components.Terrain.Terrain
return Axiom.Graphics.Material
        public virtual Material Generate(Terrain terrain)
        {
#warning: check return value null here
            Profile p = ActiveProfile;
            if (p == null)
                return null;
            else
                return p.Generate(terrain);
        }
        /// <summary>