Description
Clamps the length of a given vector between a minimum and maximum
Information
| Plugin | RigVM |
| Category | Math|Vector |
| Tags | Unit,Normalize,Scale |
| Type | FRigVMFunction_MathVectorClampLength |
Inputs
| Name | Description | Permitted Types | Default Value |
|---|---|---|---|
| Value | The input vector to clamp the length of | Vector | (X=1.000000,Y=0.000000,Z=0.000000) |
| MinimumLength | The minimum length to clamp by | float | 0.000000 |
| MaximumLength | The maximum length to clamp by | float | 1.000000 |
Outputs
| Name | Description | Permitted Types | Default Value |
|---|---|---|---|
| Result | The resulting clamped input vector * (or 0,0,0 in case the input was also 0,0,0) | Vector |