shown in other instead.
This material graph sample demonstrates how to use portals in your materials.
Two colors (A and B) are blended by the Lerp node controlled by the coefficient provided by the Float Slider node (enabling you to adjust float values via the Parameters panel in the UnigineEditor).
Both colors and the control slider are connected to the corresponding ports of the Lerp node via portals (portal_color_a, portal_color_b, and portal_slider). Output ports of color portals are connected via the XYZ port adapter selecting RGB color components.
Opacity value (fully opaque) for the Deferred PBR Material master material node is specified directly via the port adapter.
Finally, the data output is passed to the Final Material node.