Linked material
From Eclat-Digital Ocean 2014 Documentation
Revision as of 17:40, 19 March 2014 by Admin (Talk | contribs) (Admin moved page Linked material 2014 to Linked material without leaving a redirect)
Description
This special material is not a material by itself, but a link to another material defined in the scene. It allows referencing the same material multiple times through different material names. It is especially useful with packaged libraries, whose materials cannot be renamed. A material link to the library material can be created instead.
The target material is referenced by its name. A library qualified name has the form library_name::material_name, such as in the example below.
When editing a linked material's properties, you can drag and drop a material from the object list or from the library toolbox to the target name input box.
Parameters
- target
- string
- The name of the scene material to point at, or a library qualified material name
Ocean XML 2.0 example
<?xml version="1.0" encoding="UTF-8"?> <oceanroot version="2.0.2"> <material type="linked" name="titanium" target="ocean-metals::Ti-smooth"/> </oceanroot>