Skip to Content
Node LibraryTransform

Transform

Transform matrices for positioning, rotating, and scaling objects in 2D and 3D space.


Decompose Transform

Transform

Extract position, rotation (degrees), and scale from a transform matrix.

Inputs:

NameTypeDefaultDescription
transformTransform MatrixidentityAny 4×4 matrix — from Transform 3D, a camera, device tracking, etc.

Outputs:

NameTypeDescription
position3D VectorTranslation component (X, Y, Z)
rotation3D VectorRotation as Euler angles in degrees
scale3D VectorScale factor per axis

Related: Transform 2D, Transform 3D


Transform 2D

Source

2D transform matrix from position, rotation (degrees), and scale.

Inputs:

NameTypeDefaultDescription
position2D Vector(0.00, 0.00)Where to place the object in 2D (X, Y)
rotationNumber0.00Angle in degrees — positive = counterclockwise
scale2D Vector(1.00, 1.00)Size multiplier per axis — negative values flip

Outputs:

NameTypeDescription
resultTransform MatrixCombined transform matrix — connect to Draw Geometry’s transform input

Related: Decompose Transform, Transform 3D


Transform 3D

Source

3D transform matrix. Euler rotation in degrees (Z × Y × X order).

Inputs:

NameTypeDefaultDescription
position3D Vector(0.00, 0.00, 0.00)Where to place the object in 3D (X, Y, Z)
rotation3D Vector(0.00, 0.00, 0.00)Rotation per axis in degrees — X tilts forward/back, Y turns left/right, Z rolls
scale3D Vector(1.00, 1.00, 1.00)Size multiplier per axis — negative values mirror

Outputs:

NameTypeDescription
resultTransform MatrixCombined transform matrix — connect to Draw Geometry’s transform input

Related: Decompose Transform, Transform 2D


Last updated on

Apple and the Apple logo are trademarks of Apple Inc. sxp.studio and Subjective Designer are not affiliated with Apple.