Condividi tramite


Vector2i.Clamp Metodo

Definizione

Overload

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

Parametri

vec
Vector2i
min
Vector2i
max
Vector2i

Restituisce

Si applica a

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

Parametri

vec
Vector2i
min
Vector2i
max
Vector2i
result
Vector2i

Si applica a