Edit

Share via


Vector3i.Clamp Method

Definition

Overloads

Clamp(Vector3i, Vector3i, Vector3i)
Clamp(Vector3i, Vector3i, Vector3i, Vector3i)

Clamp(Vector3i, Vector3i, Vector3i)

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

Parameters

vec
Vector3i
min
Vector3i
max
Vector3i

Returns

Applies to

Clamp(Vector3i, Vector3i, Vector3i, Vector3i)

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

Parameters

vec
Vector3i
min
Vector3i
max
Vector3i
result
Vector3i

Applies to