RubyExtension/MSPhysics/materials.rb
# Add/Overwrite material to/in the materials list.
# @param [Material] material
# @return [Boolean] success
Add/Overwrite material to/in the materials list.
Add / Overwrite material to / in the materials list .
def add(material)
      AMS.validate_type(material, MSPhysics::Material)
      @instances[material.name] = material
      true
    end
def add ( material ) AMS . validate_type ( material , MSPhysics :: Material ) @instances [ material . name ] = material true end
Add/Overwrite material to/in the materials list.
Add / Overwrite material to / in the materials list .
None
Boolean
material
<not_specific>
<not_specific>
None