A game about forced loneliness, made by TACStudios
1# Modulo Node
2
3## Description
4
5Returns the remainder of dividing input **A** by input **B**.
6
7## Ports
8
9| Name | Direction | Type | Description |
10|:------------ |:-------------|:-----|:---|
11| A | Input | Dynamic Vector | First input value |
12| B | Input | Dynamic Vector | Second input value |
13| Out | Output | Dynamic Vector | Output value |
14
15## Generated Code Example
16
17The following example code represents one possible outcome of this node.
18
19```
20void Unity_Modulo_float4(float4 A, float4 B, out float4 Out)
21{
22 Out = fmod(A, B);
23}
24```