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

CanGenerateUsingDeclaration() public method

Whether this generator can generate a material for a given declaration. By default this only returns true if the declaration is equal to the standard one returned from getLayerDeclaration, but if a subclass wants to be flexible to generate materials for other declarations too, it can specify here.
public CanGenerateUsingDeclaration ( TerrainLayerDeclaration decl ) : bool
decl TerrainLayerDeclaration
return bool
        public virtual bool CanGenerateUsingDeclaration(TerrainLayerDeclaration decl)
        {
            return decl == mLayerDecl;
        }
        /// <summary>