Interface MaterialModelList

    • Method Detail

      • create

        MaterialModel create​(java.lang.String tag,
                             java.lang.String descr)
        Creates material property group. If the tag is equal to any of the known built-in types the created property group will be of that type. When a built-in property group with the tag and type already exists, this method just returns that property group without creating anything. This differs from the method create(String, String, String) that will throw when a tag is already present.
        Parameters:
        tag - Material property group tag and a potential type.
        descr - Material property group description.
        Returns:
        Created or existing material property group.
      • create

        MaterialModel create​(java.lang.String tag,
                             java.lang.String type,
                             java.lang.String descr)
        Creates material property group of a certain type.
        Parameters:
        tag - Material property group tag.
        type - Material property group type.
        descr - Material property group description.
        Returns:
        Created material property group.