Внимание! Эта версия документация УСТАРЕЛА, поскольку относится к более ранней версии SDK! Пожалуйста, переключитесь на самую актуальную документацию для последней версии SDK.
Sign Node
Description
Outputs one, zero, or negative one according to the sign of the input scalar value or individual components of input vectors.
- 1 is returned if input is positive
- 0 is returned if input equals to zero
- -1 is returned if input is negative
Usage Examples
Example 1
The Sign node takes Vertex Normal coordinates in World space and provides Emission color values for the Material changing the color from black (0,0,0) to white (1, 1, 1) across the surface, depending on the sign of Vertex Normal components.
The information on this page is valid for UNIGINE 2.18.1 SDK.
Last update:
19.04.2024
Помогите сделать статью лучше
(или выберите слово/фразу и нажмите Ctrl+Enter