Compartilhar via


Vector4.Clamp Método

Definição

Sobrecargas

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

Fixar um vetor aos vetores mínimo e máximo especificados

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

Parâmetros

vec
Vector4
min
Vector4
max
Vector4

Retornos

Aplica-se a

Clamp(Vector4, Vector4, Vector4, Vector4)

Fixar um vetor aos vetores mínimo e máximo especificados

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

Parâmetros

vec
Vector4

Vetor de entrada

min
Vector4

Vetor mínimo

max
Vector4

Vetor máximo

result
Vector4

O vetor fixado

Aplica-se a