C# 클래스 EzGame.Collision.Line

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

공개 프로퍼티들

프로퍼티 타입 설명
Start Vector2

공개 메소드들

메소드 설명
Draw ( Batch Batch, Color Color, float Thickness = 1, SpriteEffects Effect = SpriteEffects.None, float Layer ) : void
Draw ( Color Color, float Thickness = 1, SpriteEffects Effect = SpriteEffects.None, float Layer ) : void
Intersects ( Line Line ) : bool
Intersects ( Line Line, Vector2 &Intersection ) : bool
Line ( Vector2 Start, Vector2 End ) : System
Offset ( Vector2 Position ) : Line

메소드 상세

Draw() 공개 메소드

public Draw ( Batch Batch, Color Color, float Thickness = 1, SpriteEffects Effect = SpriteEffects.None, float Layer ) : void
Batch EzGame.Perspective.Planar.Batch
Color Color
Thickness float
Effect SpriteEffects
Layer float
리턴 void

Draw() 공개 메소드

public Draw ( Color Color, float Thickness = 1, SpriteEffects Effect = SpriteEffects.None, float Layer ) : void
Color Color
Thickness float
Effect SpriteEffects
Layer float
리턴 void

Intersects() 공개 메소드

public Intersects ( Line Line ) : bool
Line Line
리턴 bool

Intersects() 공개 메소드

public Intersects ( Line Line, Vector2 &Intersection ) : bool
Line Line
Intersection Vector2
리턴 bool

Line() 공개 메소드

public Line ( Vector2 Start, Vector2 End ) : System
Start Vector2
End Vector2
리턴 System

Offset() 공개 메소드

public Offset ( Vector2 Position ) : Line
Position Vector2
리턴 Line

프로퍼티 상세

Start 공개적으로 프로퍼티

public Vector2 Start
리턴 Vector2