다음을 통해 공유


Vector2d.Clamp 메서드

정의

오버로드

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

지정된 최소 및 최대 벡터로 벡터 고정

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

매개 변수

vec
Vector2d
min
Vector2d
max
Vector2d

반환

적용 대상

Clamp(Vector2d, Vector2d, Vector2d, Vector2d)

지정된 최소 및 최대 벡터로 벡터 고정

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

매개 변수

vec
Vector2d

입력 벡터

min
Vector2d

최소 벡터

max
Vector2d

최대 벡터

result
Vector2d

고정된 벡터

적용 대상