Page MenuHomeAnticto

Mutable for Unreal Engine 4 | Material Variation Node
Updated 532 Days AgoPublic

image.png (152×277 px, 19 KB)


Function

Changes the materials given depending on what tags or state is active.


Use Cases

Allow to change certain parts of a customizable object depending on some external condition, like hiding half the hair and changing its textures around the border when a helmet is on.


Node Properties

image.png (228×284 px, 11 KB)
Type (type dropdown): Allows to change the source of the selector, either a state from the customizable object or a tag.
Variations(array): Amount of options defined.
Tag(array item): Name of the state or tag that activates the corresponding variation.


Input Pins

Variation (index) [(name)]: The materials that are given if the current state name is the same as the variation name when the source are states. If the sources are tags, and any of the currently active customizable objects defines a tag identical to this variation name, these are the materials given. If the sources are tags and multiple variation names have active tags, this is the chosen variation only if it's the one with the lowest index among the active ones.
Default: The materials that are given if there is no matching name.


Output Pins

Material: All the materials connected on the currently chosen variation input pin, or to the default input when none apply. If multiple tags are defined at the same time, only what is connected to the lowest index among the current valid ones will be in the output. Runtime modifiable.

Last Author
ricard
Last Edited
Jun 16 2020, 6:11 PM

Event Timeline

ricard changed the visibility from "All Users" to "Public (No Login Required)".
ricard published a new version of this document.