Linked medium¶
Description¶
medium This special medium is not a medium by itself, but a link to another medium defined in the scene. It allows referencing the same medium multiple times through different medium names. It is especially useful with packaged libraries, whose media cannot be renamed. A medium link to the library medium can be created instead.
The target medium is referenced by its name. A library qualified name has the form library_name::medium_name
,
such as in the example below.
When editing a linked medium’s properties, you can drag and drop a medium from the Objects toolbox list or from the Libraries toolbox to the target name input box.
You may also create a linked medium by right clicking on another medium from the Objects toolbox or from the Libraries toolbox, and by selecting “Copy Link”. Then paste the linked medium on any medium slot in the object editor.
Parameters¶
name | type | description |
---|---|---|
target | string | The name of the scene medium to point at, or a library qualified medium name |
Ocean XML 3.0 example¶
<medium type="linked" name="titanium" target="ocean-metals::Ti"/>