C# 클래스 Myre.UI.Int2D

Defines an vector with 2 integer components.
파일 보기 프로젝트 열기: TomGillen/Myre 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
X int
Y int

공개 메소드들

메소드 설명
Equals ( Int2D value ) : bool

Indicates whether this instance and a specified Int2D are equal.

Equals ( object obj ) : bool

Indicates whether this instance and a specified object are equal.

GetHashCode ( ) : int

Returns a hash code for this instance.

Int2D ( Vector2 v ) : System

Initializes a new instance of the Int2D struct.

Int2D ( int value ) : System

Initializes a new instance of the Int2D struct.

Int2D ( int x, int y ) : System

Initializes a new instance of the Int2D struct.

ToString ( ) : string

Returns a string representation of the Int2D.

operator ( ) : Int2D

Implements the operator *.

operator ( ) : bool

Implements the operator !=.

메소드 상세

Equals() 공개 메소드

Indicates whether this instance and a specified Int2D are equal.
public Equals ( Int2D value ) : bool
value Int2D The value to compare to.
리턴 bool

Equals() 공개 메소드

Indicates whether this instance and a specified object are equal.
public Equals ( object obj ) : bool
obj object Another object to compare to.
리턴 bool

GetHashCode() 공개 메소드

Returns a hash code for this instance.
public GetHashCode ( ) : int
리턴 int

Int2D() 공개 메소드

Initializes a new instance of the Int2D struct.
public Int2D ( Vector2 v ) : System
v Microsoft.Xna.Framework.Vector2
리턴 System

Int2D() 공개 메소드

Initializes a new instance of the Int2D struct.
public Int2D ( int value ) : System
value int
리턴 System

Int2D() 공개 메소드

Initializes a new instance of the Int2D struct.
public Int2D ( int x, int y ) : System
x int
y int
리턴 System

ToString() 공개 메소드

Returns a string representation of the Int2D.
public ToString ( ) : string
리턴 string

operator() 공개 정적인 메소드

Implements the operator *.
public static operator ( ) : Int2D
리턴 Int2D

operator() 공개 정적인 메소드

Implements the operator !=.
public static operator ( ) : bool
리턴 bool

프로퍼티 상세

X 공개적으로 프로퍼티

The x component of this vector.
public int X
리턴 int

Y 공개적으로 프로퍼티

The y component of this vector.
public int Y
리턴 int