Unity Products:Amplify Shader Editor/Length

From Amplify Creations Wiki
Revision as of 00:06, 2 December 2023 by AmplifyWiki (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Back to Node List


Length Node

The Length node outputs the euclidean length of the Input vector which can be seen as the following operation Sqrt( Dot( Input, Input )).


Nodes used: Vertex Position, Vector3, Add, Length

Node Parameter Description Default Value
Input Vector for which the length will be calculated. Only visible if the respective input port is not connected.
Input Port Description Type
Input Vector for which the length will be calculated. Float4 [1]

  1. ^ Port automatically adapts to all connection types except Matrices and Sampler types.

Back to Node List