C# Class EzGame.Perspective.Planar.Raycaster

Afficher le fichier Open project: CodeTreeCommunity/Shooter2D

Méthodes publiques

Свойство Type Description
Rays Ray[]

Méthodes publiques

Méthode Description
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

Method Details

Cast() public méthode

public Cast ( Vector2 Position, float Length ) : void
Position Vector2
Length float
Résultat void

Cast() public méthode

public Cast ( Vector2 Position, float Length, float Field, float Angle ) : void
Position Vector2
Length float
Field float
Angle float
Résultat void

DrawAreaOutline() public méthode

public DrawAreaOutline ( Batch Batch, Color Color, float Size = 1 ) : void
Batch Batch
Color Color
Size float
Résultat void

DrawAreaOutline() public méthode

public DrawAreaOutline ( Color Color, float Size = 1 ) : void
Color Color
Size float
Résultat void

DrawLines() public méthode

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
Résultat void

DrawLines() public méthode

public DrawLines ( Color Color = null, float Size = 1, SpriteEffects Effect = SpriteEffects.None, float Layer ) : void
Color Color
Size float
Effect SpriteEffects
Layer float
Résultat void

Intersects() public méthode

public Intersects ( Polygon Polygon ) : bool
Polygon EzGame.Collision.Polygon
Résultat bool

Intersects() public méthode

public Intersects ( Polygon Polygon, Vector2 &Intersection ) : bool
Polygon EzGame.Collision.Polygon
Intersection Vector2
Résultat bool

Raycaster() public méthode

public Raycaster ( uint Rays ) : System
Rays uint
Résultat System

Property Details

Rays public_oe property

public Ray[] Rays
Résultat Ray[]