Cast
Overview
This page lists all nodes for Substance Model graphs from the Cast category.
In the context of Substance Model graphs, casting is the process of converting a value from one type to another.
It is often necessary to perform conversions as node inputs are typed, which means valid connections can only be done between a pair of output and input connectors of the same type. You will likely need to perform operations which require a certain type – e.g. divisions on Float values – that will need to be converted into a type matching the target input – e.g. rounding to Integer.
Some of these conversions are quite straightforward – e.g. 3 to 3.0 – while other involve a basic assumption which will drive the conversion – e.g. 0 to False.