C# 클래스 VectorEx, volkenessen

파일 보기 프로젝트 열기: Collegiennes/volkenessen 1 사용 예제들

공개 메소드들

메소드 설명
Abs ( this vector ) : Vector3
AlmostEquals ( this a, Vector3 b ) : bool
Approximately ( Vector3 a, Vector3 b ) : bool
Clamp ( this vector, float min, float max ) : Vector3
DistanceSquared ( this v1, Vector2 v2 ) : float
Floor ( this vector ) : Vector3
MaxClamp ( this vector ) : Vector3
MaxClampXZ ( this vector ) : Vector3
Modulate ( Vector3 v1, Vector3 v2 ) : Vector3
New ( float unit ) : Vector3
Round ( this vector ) : Vector3
Sign ( this vector ) : Vector3
ToVector3 ( this v ) : Vector3
XY ( this v ) : Vector2

메소드 상세

Abs() 공개 정적인 메소드

public static Abs ( this vector ) : Vector3
vector this
리턴 Vector3

AlmostEquals() 공개 정적인 메소드

public static AlmostEquals ( this a, Vector3 b ) : bool
a this
b Vector3
리턴 bool

Approximately() 공개 정적인 메소드

public static Approximately ( Vector3 a, Vector3 b ) : bool
a Vector3
b Vector3
리턴 bool

Clamp() 공개 정적인 메소드

public static Clamp ( this vector, float min, float max ) : Vector3
vector this
min float
max float
리턴 Vector3

DistanceSquared() 공개 정적인 메소드

public static DistanceSquared ( this v1, Vector2 v2 ) : float
v1 this
v2 Vector2
리턴 float

Floor() 공개 정적인 메소드

public static Floor ( this vector ) : Vector3
vector this
리턴 Vector3

MaxClamp() 공개 정적인 메소드

public static MaxClamp ( this vector ) : Vector3
vector this
리턴 Vector3

MaxClampXZ() 공개 정적인 메소드

public static MaxClampXZ ( this vector ) : Vector3
vector this
리턴 Vector3

Modulate() 공개 정적인 메소드

public static Modulate ( Vector3 v1, Vector3 v2 ) : Vector3
v1 Vector3
v2 Vector3
리턴 Vector3

New() 공개 정적인 메소드

public static New ( float unit ) : Vector3
unit float
리턴 Vector3

Round() 공개 정적인 메소드

public static Round ( this vector ) : Vector3
vector this
리턴 Vector3

Sign() 공개 정적인 메소드

public static Sign ( this vector ) : Vector3
vector this
리턴 Vector3

ToVector3() 공개 정적인 메소드

public static ToVector3 ( this v ) : Vector3
v this
리턴 Vector3

XY() 공개 정적인 메소드

public static XY ( this v ) : Vector2
v this
리턴 Vector2