Compartilhar via


Vector4d.Clamp Método

Definição

Sobrecargas

Clamp(Vector4d, Vector4d, Vector4d)
Clamp(Vector4d, Vector4d, Vector4d, Vector4d)

Fixar um vetor aos vetores mínimos e máximos especificados

Clamp(Vector4d, Vector4d, Vector4d)

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

Parâmetros

vec
Vector4d
min
Vector4d
max
Vector4d

Retornos

Aplica-se a

Clamp(Vector4d, Vector4d, Vector4d, Vector4d)

Fixar um vetor aos vetores mínimos e máximos especificados

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

Parâmetros

vec
Vector4d

Vetor de entrada

min
Vector4d

Vetor mínimo

max
Vector4d

Vetor máximo

result
Vector4d

O vetor fixado

Aplica-se a