Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

VRageMath.Vector2D.Clamp

Morten Aune Lyrstad edited this page Oct 10, 2019 · 16 revisions

IndexNamespace IndexVector2D

Summary

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

Restricts a value to be within a specified range.

Returns

Vector2D

Parameters

Summary

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

Restricts a value to be within a specified range.

Parameters

Clone this wiki locally