示例#1
0
 /// <summary>Creates a new Material asset with the same shader and properties! Draw calls with
 /// the new Material will not batch together with this one.</summary>
 /// <returns>A new Material asset with the same shader and properties.</returns>
 public Material Copy()
 {
     return(new Material(NativeAPI.material_copy(_materialInst)));
 }