Unity Products:Amplify Shader Editor/Position From Transform: Difference between revisions

From Amplify Creations Wiki
Jump to navigation Jump to search
ampwiki>Amplify RnD Rick
No edit summary
 
m (1 revision imported)
 
(No difference)

Latest revision as of 00:06, 2 December 2023

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