Compartilhar via


Vector2d.Clamp Método

Definição

Sobrecargas

Clamp(Vector2d, Vector2d, Vector2d)
Clamp(Vector2d, Vector2d, Vector2d, Vector2d)

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

Clamp(Vector2d, Vector2d, Vector2d)

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

Parâmetros

vec
Vector2d
min
Vector2d
max
Vector2d

Retornos

Aplica-se a

Clamp(Vector2d, Vector2d, Vector2d, Vector2d)

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

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

Parâmetros

vec
Vector2d

Vetor de entrada

min
Vector2d

Vetor mínimo

max
Vector2d

Vetor máximo

result
Vector2d

O vetor fixado

Aplica-se a