Unity Products:Amplify Shader Editor/Position From Transform

From Amplify Creations Wiki
Revision as of 16:07, 15 September 2021 by ampwiki>Amplify RnD Rick
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Back to Node List

Position From Transform Node

The Position From Transform node retrieves the position vector from a 4x4 transform matrix set on its Input which effectively corresponds to its fourth column.


Nodes used: Object To World Matrix, Position From Transform

Input Port Description Type
Input 4x4 transform matrix from which position will be retrieved. Matrix 4x4
Output Port Description Type
XYZW Position vector retrieved from transform matrix. Float4
X Returns only the X component of the position vector retrieved from transform matrix. Float
Y Returns only the Y component of the position vector retrieved from transform matrix. Float
Z Returns only the Z component of the position vector retrieved from transform matrix. Float
W Returns only the W component of the position vector retrieved from transform matrix. Float

Back to Node List