C# Class MilkShakeFramework.Render.PrimitiveRenderer

Inheritance: Renderer
Afficher le fichier Open project: lucas-jones/MilkShake-old Class Usage Examples

Méthodes publiques

Свойство Type Description
_lineImage ImageRenderer

Méthodes publiques

Méthode Description
DrawLine ( Vector2 _pointA, Vector2 _pointB, Color _color ) : void
DrawRectangle ( Rectangle _rectangle, Color _color ) : void
DrawRectangle ( RotatedRectangle _rectangle, Color _color ) : void
FixUp ( ) : void
PostDraw ( ) : void
PrimitiveRenderer ( ) : System

Private Methods

Méthode Description
RenderLines ( Vector2 _pointA, Vector2 _pointB, Color color ) : void

Method Details

DrawLine() public méthode

public DrawLine ( Vector2 _pointA, Vector2 _pointB, Color _color ) : void
_pointA Vector2
_pointB Vector2
_color Color
Résultat void

DrawRectangle() public méthode

public DrawRectangle ( Rectangle _rectangle, Color _color ) : void
_rectangle Microsoft.Xna.Framework.Rectangle
_color Color
Résultat void

DrawRectangle() public méthode

public DrawRectangle ( RotatedRectangle _rectangle, Color _color ) : void
_rectangle MilkShakeFramework.Tools.Maths.RotatedRectangle
_color Color
Résultat void

FixUp() public méthode

public FixUp ( ) : void
Résultat void

PostDraw() public méthode

public PostDraw ( ) : void
Résultat void

PrimitiveRenderer() public méthode

public PrimitiveRenderer ( ) : System
Résultat System

Property Details

_lineImage public_oe static_oe property

public static ImageRenderer,MilkShakeFramework.Render _lineImage
Résultat ImageRenderer