C# 클래스 xnapunk.colliders.RectangleCollider

상속: Collider
파일 보기 프로젝트 열기: Gnoll/XNAPunk 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Size Vector2

공개 메소드들

메소드 설명
GetBottom ( ) : float
GetBottomLeft ( ) : Vector2
GetBottomRight ( ) : Vector2
GetLeft ( ) : float
GetRight ( ) : float
GetTop ( ) : float
GetTopLeft ( ) : Vector2
GetTopRight ( ) : Vector2
IntersectsLine ( Vector2 start, Vector2 end, float lineWidth ) : bool
IntersectsPoint ( Vector2 point ) : bool
RectangleCollider ( Vector2 size, Vector2 offset ) : System
Type ( ) : ColliderType

메소드 상세

GetBottom() 공개 메소드

public GetBottom ( ) : float
리턴 float

GetBottomLeft() 공개 메소드

public GetBottomLeft ( ) : Vector2
리턴 Vector2

GetBottomRight() 공개 메소드

public GetBottomRight ( ) : Vector2
리턴 Vector2

GetLeft() 공개 메소드

public GetLeft ( ) : float
리턴 float

GetRight() 공개 메소드

public GetRight ( ) : float
리턴 float

GetTop() 공개 메소드

public GetTop ( ) : float
리턴 float

GetTopLeft() 공개 메소드

public GetTopLeft ( ) : Vector2
리턴 Vector2

GetTopRight() 공개 메소드

public GetTopRight ( ) : Vector2
리턴 Vector2

IntersectsLine() 공개 메소드

public IntersectsLine ( Vector2 start, Vector2 end, float lineWidth ) : bool
start Vector2
end Vector2
lineWidth float
리턴 bool

IntersectsPoint() 공개 메소드

public IntersectsPoint ( Vector2 point ) : bool
point Vector2
리턴 bool

RectangleCollider() 공개 메소드

public RectangleCollider ( Vector2 size, Vector2 offset ) : System
size Vector2
offset Vector2
리턴 System

Type() 공개 메소드

public Type ( ) : ColliderType
리턴 ColliderType

프로퍼티 상세

Size 공개적으로 프로퍼티

public Vector2 Size
리턴 Vector2