Condividi tramite


Vector4.Clamp Metodo

Definizione

Overload

Clamp(Vector4, Vector4, Vector4)
Clamp(Vector4, Vector4, Vector4, Vector4)

Blocca un vettore per i vettori minimi e massimi specificati

Clamp(Vector4, Vector4, Vector4)

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

Parametri

vec
Vector4
min
Vector4
max
Vector4

Restituisce

Si applica a

Clamp(Vector4, Vector4, Vector4, Vector4)

Blocca un vettore per i vettori minimi e massimi specificati

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

Parametri

vec
Vector4

Vettore di input

min
Vector4

Vettore minimo

max
Vector4

Vettore massimo

result
Vector4

Vettore bloccato

Si applica a