Archived
Private
Public Access
1
0
This repository has been archived on 2026-02-04. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
2022-11-12 13:10:03 +01:00

639 B

Absolute Node

Description

Returns the absolute value of the input In. Components of the input Dynamic Vector that are positive will remain positive and components that are negative will be inverted and become positive.

Ports

Name Direction Type Description
In Input Dynamic Vector Input value
Out Output Dynamic Vector Output value

Generated Code Example

The following example code represents one possible outcome of this node.

void Unity_Absolute_float4(float4 In, out float4 Out)
{
    Out = abs(In);
}