UnityEngine.Material.Material C# (CSharp) Méthode

Material() public méthode

Create a temporary Material.

public Material ( Shader shader ) : System
shader Shader Create a material with a given Shader.
Résultat System
        public Material(Shader shader)
        {
            Internal_CreateWithShader(this, shader);
        }

Same methods

Material::Material ( Material source ) : System
Material::Material ( string contents ) : System