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

VRageMath.Vector4.Clamp

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

IndexNamespace IndexVector4

Summary

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

Restricts a value to be within a specified range.

Returns

Vector4

Parameters

Summary

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

Restricts a value to be within a specified range.

Parameters

Clone this wiki locally