C# 클래스 Krypton.Common.BoundingRect

Much like Rectangle, but stored as two Vector2s
파일 보기 프로젝트 열기: lucas-jones/MilkShake-old 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Max Vector2
Min Vector2

공개 메소드들

메소드 설명
BoundingRect ( Vector2 min, Vector2 max ) : System
BoundingRect ( float x, float y, float width, float height ) : System
Contains ( BoundingRect rect ) : bool
Contains ( Vector2 vector ) : bool
Contains ( float x, float y ) : bool
Contains ( BoundingRect &rect, bool &result ) : void
Contains ( Vector2 &rect, bool &result ) : void
Equals ( BoundingRect other ) : bool
Equals ( object obj ) : bool
GetHashCode ( ) : int
Intersect ( BoundingRect rect1, BoundingRect rect2 ) : BoundingRect
Intersect ( BoundingRect &rect1, BoundingRect &rect2, BoundingRect &result ) : void
Intersects ( BoundingRect rect ) : bool
Intersects ( BoundingRect &rect, bool &result ) : void
Union ( BoundingRect rect1, BoundingRect rect2 ) : BoundingRect
Union ( BoundingRect &rect1, BoundingRect &rect2, BoundingRect &result ) : void
operator ( ) : bool

비공개 메소드들

메소드 설명
BoundingRect ( ) : System

메소드 상세

BoundingRect() 공개 메소드

public BoundingRect ( Vector2 min, Vector2 max ) : System
min Vector2
max Vector2
리턴 System

BoundingRect() 공개 메소드

public BoundingRect ( float x, float y, float width, float height ) : System
x float
y float
width float
height float
리턴 System

Contains() 공개 메소드

public Contains ( BoundingRect rect ) : bool
rect BoundingRect
리턴 bool

Contains() 공개 메소드

public Contains ( Vector2 vector ) : bool
vector Vector2
리턴 bool

Contains() 공개 메소드

public Contains ( float x, float y ) : bool
x float
y float
리턴 bool

Contains() 공개 메소드

public Contains ( BoundingRect &rect, bool &result ) : void
rect BoundingRect
result bool
리턴 void

Contains() 공개 메소드

public Contains ( Vector2 &rect, bool &result ) : void
rect Vector2
result bool
리턴 void

Equals() 공개 메소드

public Equals ( BoundingRect other ) : bool
other BoundingRect
리턴 bool

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

Intersect() 공개 정적인 메소드

public static Intersect ( BoundingRect rect1, BoundingRect rect2 ) : BoundingRect
rect1 BoundingRect
rect2 BoundingRect
리턴 BoundingRect

Intersect() 공개 정적인 메소드

public static Intersect ( BoundingRect &rect1, BoundingRect &rect2, BoundingRect &result ) : void
rect1 BoundingRect
rect2 BoundingRect
result BoundingRect
리턴 void

Intersects() 공개 메소드

public Intersects ( BoundingRect rect ) : bool
rect BoundingRect
리턴 bool

Intersects() 공개 메소드

public Intersects ( BoundingRect &rect, bool &result ) : void
rect BoundingRect
result bool
리턴 void

Union() 공개 정적인 메소드

public static Union ( BoundingRect rect1, BoundingRect rect2 ) : BoundingRect
rect1 BoundingRect
rect2 BoundingRect
리턴 BoundingRect

Union() 공개 정적인 메소드

public static Union ( BoundingRect &rect1, BoundingRect &rect2, BoundingRect &result ) : void
rect1 BoundingRect
rect2 BoundingRect
result BoundingRect
리턴 void

operator() 공개 정적인 메소드

public static operator ( ) : bool
리턴 bool

프로퍼티 상세

Max 공개적으로 프로퍼티

public Vector2 Max
리턴 Vector2

Min 공개적으로 프로퍼티

public Vector2 Min
리턴 Vector2