OOF2: The Manual

Name

OOF.Material.Copy — Copy a Material.

Synopsis

OOF.Material.Copy(name,new_name)

Details

  • Parent Menu: OOF.Material
  • Callback: function _copymaterial in module ooflib.engine.IO.materialmenu
  • Parameters:

    name
    Name of the source material. Type: A character string.
    new_name
    Name of the new material. Type: A character string, or the variable automatic.

Description

Make a copy of a Material. The new Material shares its Properties with the original, so changing parameters in a Property in one Material also changes them in the other. To create independent Properties, it is necessary to replace the Properties in one of the Materials