9.5.2

Table Of Contents
1130 CHAPTER 22
XPRESSO EDITOR 1131
You can use the Material node to, for example, access a particular material in the Material manager.
Here, the rst material, then the second material, and nally the third material are passed on to an
object. The Compare node controls the progress in the Material manager according to the current
animation time. The materials are changed automatically over time.
This node searches for materials in the Material manager. The search begins with the top left material.
Choose which type of material the node should search for in the Attribute manager (Material Type
setting).
In addition, you can exclude materials from the search by dragging them into the Exclude box in the
Attribute manager.
The following input ports are available:
First Material_ This port takes an integer value which denes where the search
should begin. A value of 0 means the search will begin with the rst material
in the Material manager onwards. A value of 1 means the search will skip the
rst material and begin with the second material instead, and so on.
Maximum Materials: This port denes the maximum number of materials that
the node will output. A value of 0 means the node will output all the materials
that match the search criteria.
On: The On input port takes a Bool value that enables (True) or disables (False)
the node. The node is enabled automatically if you do not add this port.
The following output ports are available:
Count: The total number of tags found. This value depends not only on
the search criteria but also on the value of the Maximum Materials port. (The
Maximum Materials value can limit the number of materials the node outputs,
even if there are further materials of the desired type).
Material: The materials found.