Last updated on
Jul 13, 2023
Match object
In: Substance model graphs > Scene management
Description
The Match object node transforms source elements to match the scale and possibly the location of target elements' bounding box.
Parameters
- Geometry to modify Scene
The input scene holding the elements which should be transformed to match the global bounding box of the Geometry to match input scene. - Geometry to match Scene
The input scene which global bounding box should be matched by the elements in the Geometry to modify input scene. - Target scale Float
A multiplier for the scale of the target bounding box. - Match the size Integer (selects an Enum index)
Defines the transformation which should be applied to the source elements' scale, from the following options:- No scale: the source elements are not scaled to match the target bounding box;
- Uniform scale: the source elements are scaled to match the target bounding box's shortest side (width or depth), while preserving their original proportions;
- Non uniform scale: the source elements are scaled to match the target bounding box, adjusting their proportions to fit.
- Match the center Boolean
Moves the source elements at the center of the target bounding box.
Example Images