Compartilhar via


Vector3d.Clamp Método

Definição

Sobrecargas

Clamp(Vector3d, Vector3d, Vector3d)
Clamp(Vector3d, Vector3d, Vector3d, Vector3d)

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

Clamp(Vector3d, Vector3d, Vector3d)

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

Parâmetros

vec
Vector3d
min
Vector3d
max
Vector3d

Retornos

Aplica-se a

Clamp(Vector3d, Vector3d, Vector3d, Vector3d)

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

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

Parâmetros

vec
Vector3d

Vetor de entrada

min
Vector3d

Vetor mínimo

max
Vector3d

Vetor máximo

result
Vector3d

O vetor fixado

Aplica-se a