DataMaterialGradient

graphics/plugins_datamaterialgradient-icon.png

DataMaterialGradiant changes the material color of the controlled container to a color within a predefined spectrum (the plugin will change the Hue of the material). A minimal value is assigned to one color and a maximal value is assigned to another color. Any value between the minimum and maximum values is translated to a color, and affects the container’s material.

graphics/plugins_datamaterialgradient.png
Unique Parameters
  • Source material: The material/alpha assigned to the Data Min value.

  • Target material: The material/alpha assigned to the Data Max value.

Example

Data Min is 0 and Data Max is 100. Source material is red and Target material is green.

If the received data is 50 the material that will be set on the container will be yellow.

Note: DataMaterialGradiant plugin will not work unless the controlled containers have a material on them. If controlling child containers from a top node, each of the controlled child containers must have a material attached to it. The top container, hosting the DataMaterialGradiant plugin, doesn’t need to have a material attached to it.