This repository was archived by the owner on Dec 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
VRageMath.Vector2.Clamp
Malware edited this page Dec 25, 2018
·
17 revisions
public public sealed struct Vector2 Clamp(public sealed struct Vector2 value1, public sealed struct Vector2 min, public sealed struct Vector2 max)Restricts a value to be within a specified range.
public void Clamp(ref public sealed struct Vector2 value1, ref public sealed struct Vector2 min, ref public sealed struct Vector2 max, ref public sealed struct Vector2 result)Restricts a value to be within a specified range.
Do you have questions, comments, suggestions for improvements? Is there something I can do better? Did I make a mistake? Please add an issue here, and prefix your issue title with Wiki. Thank you, your help will be very appreciated!