Files
cloud-mainworld/ufm cloud/Library/PackageCache/com.unity.shadergraph@d526115bb944/Documentation~/Modulo-Node.md
T
wub 530cdbf98f animation riging
riged the lights to the root animatior ready for animation
2026-11-30 19:13:17 +00:00

672 B

Modulo Node

Description

Returns the remainder of dividing input A by input B.

Ports

Name Direction Type Description
A Input Dynamic Vector First input value
B Input Dynamic Vector Second input value
Out Output Dynamic Vector Output value

Generated Code Example

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

void Unity_Modulo_float4(float4 A, float4 B, out float4 Out)
{
    Out = fmod(A, B);
}

Additional resources

[!includenodes-example-samples]