asSwitchTexture¶
A node that switches the output texture from a list of 8 inputs, based on object or instance IDs, names, or string patterns, facilitating the creation of automatic variation in large scenes.
Parameters¶
Color Parameters¶
- Input Color 0
- The first color in the list of colors or textures to evaluate.
(…)
Note
The subsequent inputs follow exactly the same structure and parameterization.
- Input Color 7
- The last color in the list of colors or textures to evaluate.
- Cycle Mode
- When cycling through the list of colors or textures, if the index goes outside the list bounds, then one has the choice to cycle back to the beginning of the list, or if to clamp to the list size.
Manifold Parameters¶
- Manifold Type
The type of manifold to use in order to determine which lookup to do in the list of colors or textures. It can be one of the following
- Object Name
- Object Instance Name
- Assembly Name
- Assembly Instance Name
- Face ID
- String Prefix
- String Suffix
- Find String
Outputs¶
- Output Color
- The resulting color.
Footnotes
[1] | Regular expressions, or regex. If you’re unfamiliar with it, it allows the creation of complex patterns for string and substring matching. You can validate your expressions here at regex101. |
[2] | A number used to initialize a pseudo random number generator, to allow some degree of determinism in a system. See random seed for more information. |