Canguro.Model.Material.Material.Material C# (CSharp) Метод

Material() публичный Метод

Constructora que asigna los valores iniciales al material.
public Material ( string name, bool isLocked, MaterialDesignProps designProps, MaterialTypeProps typeProps, float density ) : System
name string
isLocked bool
designProps MaterialDesignProps
typeProps MaterialTypeProps
density float
Результат System
        public Material(string name, bool isLocked, MaterialDesignProps designProps, MaterialTypeProps typeProps, float density)
        {
            Name = name;
            designProperties = (MaterialDesignProps)designProps.Clone();
            typeProperties = (MaterialTypeProps)typeProps.Clone();
            this.density = density;
            IsLocked = isLocked;
        }

Same methods

Material::Material ( ) : System
Material::Material ( Material prototype ) : System