Edit

Share via


Vector2i.Clamp Method

Definition

Overloads

Clamp(Vector2i, Vector2i, Vector2i)
Clamp(Vector2i, Vector2i, Vector2i, Vector2i)

Clamp(Vector2i, Vector2i, Vector2i)

public static OpenTK.Vector2i Clamp (OpenTK.Vector2i vec, OpenTK.Vector2i min, OpenTK.Vector2i max);
static member Clamp : OpenTK.Vector2i * OpenTK.Vector2i * OpenTK.Vector2i -> OpenTK.Vector2i

Parameters

vec
Vector2i
min
Vector2i
max
Vector2i

Returns

Applies to

Clamp(Vector2i, Vector2i, Vector2i, Vector2i)

public static void Clamp (ref OpenTK.Vector2i vec, ref OpenTK.Vector2i min, ref OpenTK.Vector2i max, out OpenTK.Vector2i result);
static member Clamp :  *  *  *  -> unit

Parameters

vec
Vector2i
min
Vector2i
max
Vector2i
result
Vector2i

Applies to