Unity Products:Amplify Shader Editor/Trunc

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

Trunc Node

The Trunc Node truncates a floating-point value to the integer component or each individual components of vector values.


Nodes used: World Position, Scale, Trunc

Node Parameter Description Default Value
Input Value to be used in the Trunc calculation. Only visible if the respective input port is not connected. 0
Input Port Description Type
Input Value to be used in the Trunc calculation. Float [1]



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

Back to Node List