C# 클래스 NFrame.NFVector2

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

공개 메소드들

메소드 설명
Direction ( ) : NFVector2
Distance ( NFVector2 va, NFVector2 vb ) : float
FromString ( string value ) : bool
IsZero ( ) : bool
Length ( ) : float
NFVector2 ( ) : System
NFVector2 ( float x, float y ) : System
SetX ( float x ) : void
SetY ( float y ) : void
SquaredLength ( ) : float
ToStr ( ) : string
X ( ) : float
Y ( ) : float
add ( NFVector2 va, NFVector2 vb ) : NFVector2
sub ( NFVector2 va, NFVector2 vb ) : NFVector2

메소드 상세

Direction() 공개 메소드

public Direction ( ) : NFVector2
리턴 NFVector2

Distance() 공개 정적인 메소드

public static Distance ( NFVector2 va, NFVector2 vb ) : float
va NFVector2
vb NFVector2
리턴 float

FromString() 공개 메소드

public FromString ( string value ) : bool
value string
리턴 bool

IsZero() 공개 메소드

public IsZero ( ) : bool
리턴 bool

Length() 공개 메소드

public Length ( ) : float
리턴 float

NFVector2() 공개 메소드

public NFVector2 ( ) : System
리턴 System

NFVector2() 공개 메소드

public NFVector2 ( float x, float y ) : System
x float
y float
리턴 System

SetX() 공개 메소드

public SetX ( float x ) : void
x float
리턴 void

SetY() 공개 메소드

public SetY ( float y ) : void
y float
리턴 void

SquaredLength() 공개 메소드

public SquaredLength ( ) : float
리턴 float

ToStr() 공개 메소드

public ToStr ( ) : string
리턴 string

X() 공개 메소드

public X ( ) : float
리턴 float

Y() 공개 메소드

public Y ( ) : float
리턴 float

add() 공개 정적인 메소드

public static add ( NFVector2 va, NFVector2 vb ) : NFVector2
va NFVector2
vb NFVector2
리턴 NFVector2

sub() 공개 정적인 메소드

public static sub ( NFVector2 va, NFVector2 vb ) : NFVector2
va NFVector2
vb NFVector2
리턴 NFVector2