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

VRageMath.Vector2.Clamp

Malware edited this page Dec 13, 2025 · 17 revisions

DEPRECATION NOTICE

This API documentation is out of date and no longer maintained.

Please visit the new documentation at: https://malforge.github.io/spaceengineers/pbapi

IndexNamespace IndexVector2

Summary

public static Vector2 Clamp(Vector2 value1, Vector2 min, Vector2 max)

Restricts a value to be within a specified range.

Returns

Vector2

Parameters

Summary

public static void Clamp(ref Vector2 value1, ref Vector2 min, ref Vector2 max, out Vector2 result)

Restricts a value to be within a specified range.

Parameters

Clone this wiki locally