C# 클래스 EzGame.Perspective.Planar.Raycaster

파일 보기 프로젝트 열기: CodeTreeCommunity/Shooter2D

공개 프로퍼티들

프로퍼티 타입 설명
Rays Ray[]

공개 메소드들

메소드 설명
Cast ( Vector2 Position, float Length ) : void
Cast ( Vector2 Position, float Length, float Field, float Angle ) : void
DrawAreaOutline ( Batch Batch, Color Color, float Size = 1 ) : void
DrawAreaOutline ( Color Color, float Size = 1 ) : void
DrawLines ( Batch Batch, Color Color = null, float Size = 1, SpriteEffects Effect = SpriteEffects.None, float Layer ) : void
DrawLines ( Color Color = null, float Size = 1, SpriteEffects Effect = SpriteEffects.None, float Layer ) : void
Intersects ( Polygon Polygon ) : bool
Intersects ( Polygon Polygon, Vector2 &Intersection ) : bool
Raycaster ( uint Rays ) : System

메소드 상세

Cast() 공개 메소드

public Cast ( Vector2 Position, float Length ) : void
Position Vector2
Length float
리턴 void

Cast() 공개 메소드

public Cast ( Vector2 Position, float Length, float Field, float Angle ) : void
Position Vector2
Length float
Field float
Angle float
리턴 void

DrawAreaOutline() 공개 메소드

public DrawAreaOutline ( Batch Batch, Color Color, float Size = 1 ) : void
Batch Batch
Color Color
Size float
리턴 void

DrawAreaOutline() 공개 메소드

public DrawAreaOutline ( Color Color, float Size = 1 ) : void
Color Color
Size float
리턴 void

DrawLines() 공개 메소드

public DrawLines ( Batch Batch, Color Color = null, float Size = 1, SpriteEffects Effect = SpriteEffects.None, float Layer ) : void
Batch Batch
Color Color
Size float
Effect SpriteEffects
Layer float
리턴 void

DrawLines() 공개 메소드

public DrawLines ( Color Color = null, float Size = 1, SpriteEffects Effect = SpriteEffects.None, float Layer ) : void
Color Color
Size float
Effect SpriteEffects
Layer float
리턴 void

Intersects() 공개 메소드

public Intersects ( Polygon Polygon ) : bool
Polygon EzGame.Collision.Polygon
리턴 bool

Intersects() 공개 메소드

public Intersects ( Polygon Polygon, Vector2 &Intersection ) : bool
Polygon EzGame.Collision.Polygon
Intersection Vector2
리턴 bool

Raycaster() 공개 메소드

public Raycaster ( uint Rays ) : System
Rays uint
리턴 System

프로퍼티 상세

Rays 공개적으로 프로퍼티

public Ray[] Rays
리턴 Ray[]