Unity Products:Amplify Shader Editor/World To Camera Matrix
Jump to navigation
Jump to search
World To Camera Matrix Node
The World To Camera Matrix node returns something in the likes of the view matrix which can be used to transform a position or direction from World to View/Camera space.
This is in the likes as for rendering, view space's forward is -z and camera matrices matches the script component's matrices(+z forward).
NOTE 1: We advise using either the Transform Position or Transform Direction as they are easier to use and you wont need to do an explicit multiplication between matrix and position/direction value.
Output Port | Description | Type |
---|---|---|
Out | Returns current world to camera matrix value. | Matrix4x4 |