...
Represents a set of properties with some kind of relationship. A 'blockdata' field can copy itself, to duplicate and create several sets. It can contain the following fields: <value>, <container>, <condition>, <function>, <dependencies>, and other <blockdata>
n - Name used to reference the field, especially when writing the .dat file.
There is a special blockdata name n='material' that has an extra meaning to declare that represents a material for import/export materials
Note: all materials of a parent container must have the same fields (value nodes), if there are materials with different properties then must create a container by each type (or define all with the same value nodes some of them unused can have state='hidden')
name - Label that will be visualized by the user. It can be translated.
...
allow_import - It is a boolean value as a 1 or 0 that allows to add the 'Import/export materials' item in the contextual menu for a specific 'blockdata' field. It is deactivated by default. For more information about this attribute, see the section Import export materials
...
Example
Code Block | ||
---|---|---|
| ||
<container n="Intervals" pn="Time intervals" un="Intervals" icon="time2" open_window="0">
<blockdata n="Interval" pn="Interval" name="Initial" sequence="1" icon="time3" editable_name="unique" sequence_type="non_void_disabled" help="Interval">
<value n="IniTime" pn="Start time" v="0.0" state="disabled" help="When do the interval starts?"/>
<value n="EndTime" pn="End time" v="0.0" state="disabled" help="When do the interval ends?"/>
</blockdata>
<blockdata n="Interval" pn="Interval" name="Total" sequence="1" icon="time3" editable_name="unique" sequence_type="non_void_disabled" help="Interval">
<value n="IniTime" pn="Start time" v="0.0" state="disabled" help="When do the interval starts?"/>
<value n="EndTime" pn="End time" v="End" state="disabled" help="When do the interval ends?"/>
</blockdata>
<blockdata n="Interval" pn="Interval" name="Custom1" sequence="1" icon="time3" editable_name="unique" sequence_type="non_void_disabled" help="Interval">
<value n="IniTime" pn="Start time" v="0.0" help="When do the interval starts?"/>
<value n="EndTime" pn="End time" v="0.5" help="When do the interval ends?"/>
</blockdata>
</container> |