Compartir a través de


Vector3d.Clamp Método

Definición

Sobrecargas

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

Fijar un vector en los vectores mínimos y 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

Devoluciones

Se aplica a

Clamp(Vector3d, Vector3d, Vector3d, Vector3d)

Fijar un vector en los vectores mínimos y 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

Vector de entrada

min
Vector3d

Vector mínimo

max
Vector3d

Vector máximo

result
Vector3d

Vector abrazado

Se aplica a