Skip to main content
Participating Frequently
August 26, 2025
Answered

create function for 2D transformation node

  • August 26, 2025
  • 1 reply
  • 91 views

Hello dear community, 

 

i want to create a function for 2D transformation node to control only Y2 transformation matrix. 

My aim is to expose this as a parameter which i need to use in a sbsar in other software. 

how can i build it in the function graph? 

 

 

thank you, 

Mark g 

Correct answer Luca Giarrizzo

Hello Mark!

 

The 'Transformation matrix' parameter is a Float4 value. So the function graph applied to it needs to output that value type.

 

A simple way to connect an exposed Float parameter to the matrix's Y2 component is to build a Float4 value using a Vector Float4 node, which combines any pair of values that together add up to 4 Float components – E.g., Float and Float 3, Float2 and Float2. The final value is the result of appending the 'Last' input to the 'In' input.

 

Here is an example of such a setup:

 

The exposed Float parameter.

 

The function graph applied to the 'Transformation matrix' parameter.

 

Let me know if you have any questions about this process.

 

Best regards. 

1 reply

Luca Giarrizzo
Community Manager
Luca GiarrizzoCommunity ManagerCorrect answer
Community Manager
August 26, 2025

Hello Mark!

 

The 'Transformation matrix' parameter is a Float4 value. So the function graph applied to it needs to output that value type.

 

A simple way to connect an exposed Float parameter to the matrix's Y2 component is to build a Float4 value using a Vector Float4 node, which combines any pair of values that together add up to 4 Float components – E.g., Float and Float 3, Float2 and Float2. The final value is the result of appending the 'Last' input to the 'In' input.

 

Here is an example of such a setup:

 

The exposed Float parameter.

 

The function graph applied to the 'Transformation matrix' parameter.

 

Let me know if you have any questions about this process.

 

Best regards. 

Luca Giarrizzo | Quality Engineer - Substance 3D Designer | Adobe
MarkG2014Author
Participating Frequently
November 4, 2025

thank you so much you helped me alot 🙂