Vector2i.Clamp 方法

定义

重载

Clamp(Vector2i, Vector2i, Vector2i)
Clamp(Vector2i, Vector2i, Vector2i, Vector2i)

Clamp(Vector2i, Vector2i, Vector2i)

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

参数

vec
Vector2i
min
Vector2i
max
Vector2i

返回

适用于

Clamp(Vector2i, Vector2i, Vector2i, Vector2i)

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

参数

vec
Vector2i
min
Vector2i
max
Vector2i
result
Vector2i

适用于