User Guide Cancel

Spline 2D Transform | Substance 3D Designer

Node icon

In: Spline & Path Tools > Spline Tools

Description

Applies a global transformation to all input splines, including inverting their direction.


Input connectors

Preview Grayscale
The preview of the input splines as a grayscale image.

Spline Coords Color
The coordinates of the input splines’ points encoded in the RGBA channels of a color image:
    R - X position
    G - Y position
    B - Height
    A - Packed data:
        - Sign: Spline is closed (negative) or open (positive);
        - Absolute value: Thickness + 1.

Spline Data Color
Additional data of the input splines encoded in the RGBA channels of a color image.
    R - Tangents X
    G - Tangents Y
    B - Unused
    A - Unused

Spline Amount Integer
The number of input splines.


Output connectors

Preview Grayscale
The preview of the output splines as a grayscale image.

Spline Coords Color
The coordinates of the output splines’ points encoded in the RGBA channels of a color image.
    R - X position
    G - Y position
    B - Height
    A - Packed data:
        - Sign: Spline is closed (negative) or open (positive);
        - Absolute value: Thickness + 1.

Spline Data Color
Additional data of the output splines encoded in the RGBA channels of a color image.
    R - Tangents X
    G - Tangents Y
    B - Unused
    A - Unused

Spline Amount Integer
The number of output splines.


Parameters

Flip Direction Boolean
Inverts the direction of the spline.

Transform Matrix Float4
The transformation matrix applied to the splines.
Three modes of editing the matrix parameters are available:
- Transformation gizmo: tweak the handles of the gizmo displayed in the 2D View when the Spline 2D Transform node is selected;
- Rotation/Stretch: Individually control the rotation and stretching of the splines. Note that values are always applied relatively to the current transformation. E.g., applying 50% width twice results in a 25% width;
- Matrix values: Click the Edit Matrix Values button to input the raw numerical values of the matrix directly.

Offset Float2
Applies a position offset to the splines in X (horizontal) and Y (vertical).


Examples

Spline2DTransform-Variant1-Before
Spline2DTransform-Variant2-After
Spline2DTransform-Variant1-Before
Spline2DTransform-Variant1-After
Node example 1

Get help faster and easier

New user?