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

GenerateForCompositeMap() public method

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