Description
Wraps the given value to be within minimum and maximum, inclusive When the value can wrap to both Min and Max, it will wrap to Min if it lies below the range and wrap to Max if it is above the range.
Information
| Plugin | RigVM |
| Category | Math |
| Tags | Wrap,Range,Remap |
Inputs
| Name | Description | Permitted Types | Default Value |
|---|---|---|---|
| Value | The number to wrap | float double |
0.000000 |
| Minimum | The Minimum for the resulting range | float double |
-1.000000 |
| Maximum | The Maximum for the resulting range | float double |
1.000000 |
Outputs
| Name | Description | Permitted Types | Default Value |
|---|---|---|---|
| Result | The resulting wrapped value | float double |