Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

VRageMath.Vector2D.Clamp

Malware edited this page Dec 25, 2018 · 17 revisions

IndexVector2D

csharp[Vector2D](VRageMath.Vector2D) Clamp([Vector2D](VRageMath.Vector2D) value1, [Vector2D](VRageMath.Vector2D) min, [Vector2D](VRageMath.Vector2D) max)##### Summary

Restricts a value to be within a specified range.

csharpvoid Clamp(ref [Vector2D](VRageMath.Vector2D) value1, ref [Vector2D](VRageMath.Vector2D) min, ref [Vector2D](VRageMath.Vector2D) max, ref [Vector2D](VRageMath.Vector2D) result)##### Summary

Restricts a value to be within a specified range.

Clone this wiki locally