 |
Color4Clamp(Color4, Color4, Color4) Method |
Restricts a value to be within a specified range.
Namespace: Ab4d.SharpEngine.CommonAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntaxpublic static Color4 Clamp(
in Color4 value,
in Color4 min,
in Color4 max
)
Parameters
- value Color4
- The value to clamp.
- min Color4
- The minimum value.
- max Color4
- The maximum value.
Return Value
Color4The clamped value.
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Common.Color4.Clamp(Ab4d.SharpEngine.Common.Color4@,Ab4d.SharpEngine.Common.Color4@,Ab4d.SharpEngine.Common.Color4@)"]
See Also