OOF2: The Manual

Name

OOF.Material.Add_property — Add a Property to a Material.

Synopsis

OOF.Material.Add_property(name,property)

Details

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

    name
    Name of the material. Type: A character string.
    property
    Name of the property. Type: A character string.

Description

Add the given Property to the given Material. The property parameter is the path to the Property. A single Property can be added to more than one Material.