Наследование: Utility.GlobalizedObject, ICloneable
Пример #1
0
 /// <summary>
 /// Constructora que asigna los valores iniciales al material.
 /// </summary>
 /// <param name="name"></param>
 /// <param name="isLocked"></param>
 /// <param name="designProps"></param>
 /// <param name="typeProps"></param>
 /// <param name="density"></param>
 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;
 }
Пример #2
0
 /// <summary>
 /// Constructora que asigna los valores iniciales al material.
 /// </summary>
 /// <param name="name"></param>
 /// <param name="isLocked"></param>
 /// <param name="designProps"></param>
 /// <param name="typeProps"></param>
 /// <param name="density"></param>
 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;
 }