Summary
Loops the `value` so that
0 <= value < length.- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- AnimancerUtilities
Syntax
public static float Wrap(float value, float length)
Remarks
Unike
UnityEngine.Mathf.Repeat(System.Single,System.Single), this method will never return the `length`.Parameters
| Name | Type | Description |
|---|---|---|
| value | float | |
| length | float |
Return Value
| Type | Description |
|---|---|
| float |