C# Class EzGame.Perspective.Planar.Batch

Afficher le fichier Open project: CodeTreeCommunity/Shooter2D Class Usage Examples

Méthodes publiques

Свойство Type Description
Begun bool

Méthodes publiques

Méthode Description
Backup ( SpriteSortMode SortMode = SpriteSortMode.Deferred, BlendState BlendState = null, SamplerState SamplerState = null, DepthStencilState DepthStencilState = null, RasterizerState RasterizerState = null, Effect Effect = null, Matrix Matrix = null ) : void
Batch ( GraphicsDevice GraphicsDevice ) : Microsoft.Xna.Framework
Begin ( Matrix Matrix, bool Backup = false ) : void

Begin the SpriteBatch

Begin ( SpriteSortMode SortMode, BlendState BlendState, Matrix Matrix, bool Backup = false ) : void

Begin the SpriteBatch

Begin ( SpriteSortMode SortMode = SpriteSortMode.Deferred, BlendState BlendState = null, SamplerState SamplerState = null, DepthStencilState DepthStencilState = null, RasterizerState RasterizerState = null, Effect Effect = null, Matrix Matrix = null, bool Backup = false ) : void

Begin the SpriteBatch

Begin ( SpriteSortMode SortMode, Matrix Matrix, bool Backup = false ) : void

Begin the SpriteBatch

Draw ( Microsoft.Xna.Framework.Graphics.Texture2D Texture, Rectangle Bounds ) : void
Draw ( Microsoft.Xna.Framework.Graphics.Texture2D Texture, Rectangle Bounds, Microsoft.Xna.Framework.Color Color ) : void
Draw ( Microsoft.Xna.Framework.Graphics.Texture2D Texture, Rectangle Bounds, Rectangle Source, Microsoft.Xna.Framework.Color Color, float Angle, Origin Origin, SpriteEffects Effect = SpriteEffects.None, float Layer ) : void
Draw ( Microsoft.Xna.Framework.Graphics.Texture2D Texture, Vector2 Position, Rectangle Source, Microsoft.Xna.Framework.Color Color, float Angle, Origin Origin, Vector2 Scale, SpriteEffects Effect = SpriteEffects.None, float Layer ) : void
Draw ( Microsoft.Xna.Framework.Graphics.Texture2D Texture, Vector2 Position, Rectangle Source, Microsoft.Xna.Framework.Color Color, float Angle, Origin Origin, float Scale, SpriteEffects Effect = SpriteEffects.None, float Layer ) : void
DrawRectangle ( Rectangle Bounds, Microsoft.Xna.Framework.Color Fill = null, Microsoft.Xna.Framework.Color Stroke = null, float Angle, int Size = 1, float Layer ) : void
DrawString ( string String, SpriteFont Font, Vector2 Position, Origin Origin, Microsoft.Xna.Framework.Color Fore, Microsoft.Xna.Framework.Color Back = null, float Angle, float Scale = 1, SpriteEffects Effect = SpriteEffects.None, float Layer ) : void
End ( ) : void
EndAll ( ) : void
Restore ( ) : void

Method Details

Backup() public méthode

public Backup ( SpriteSortMode SortMode = SpriteSortMode.Deferred, BlendState BlendState = null, SamplerState SamplerState = null, DepthStencilState DepthStencilState = null, RasterizerState RasterizerState = null, Effect Effect = null, Matrix Matrix = null ) : void
SortMode SpriteSortMode
BlendState Microsoft.Xna.Framework.Graphics.BlendState
SamplerState Microsoft.Xna.Framework.Graphics.SamplerState
DepthStencilState Microsoft.Xna.Framework.Graphics.DepthStencilState
RasterizerState Microsoft.Xna.Framework.Graphics.RasterizerState
Effect Microsoft.Xna.Framework.Graphics.Effect
Matrix Microsoft.Xna.Framework.Matrix
Résultat void

Batch() public méthode

public Batch ( GraphicsDevice GraphicsDevice ) : Microsoft.Xna.Framework
GraphicsDevice GraphicsDevice
Résultat Microsoft.Xna.Framework

Begin() public méthode

Begin the SpriteBatch
public Begin ( Matrix Matrix, bool Backup = false ) : void
Matrix Microsoft.Xna.Framework.Matrix Self-explanatory.
Backup bool
Résultat void

Begin() public méthode

Begin the SpriteBatch
public Begin ( SpriteSortMode SortMode, BlendState BlendState, Matrix Matrix, bool Backup = false ) : void
SortMode SpriteSortMode Self-explanatory.
BlendState Microsoft.Xna.Framework.Graphics.BlendState Self-explanatory.
Matrix Microsoft.Xna.Framework.Matrix Self-explanatory.
Backup bool
Résultat void

Begin() public méthode

Begin the SpriteBatch
public Begin ( SpriteSortMode SortMode = SpriteSortMode.Deferred, BlendState BlendState = null, SamplerState SamplerState = null, DepthStencilState DepthStencilState = null, RasterizerState RasterizerState = null, Effect Effect = null, Matrix Matrix = null, bool Backup = false ) : void
SortMode SpriteSortMode Self-explanatory.
BlendState Microsoft.Xna.Framework.Graphics.BlendState Self-explanatory.
SamplerState Microsoft.Xna.Framework.Graphics.SamplerState Self-explanatory.
DepthStencilState Microsoft.Xna.Framework.Graphics.DepthStencilState Self-explanatory.
RasterizerState Microsoft.Xna.Framework.Graphics.RasterizerState Self-explanatory.
Effect Microsoft.Xna.Framework.Graphics.Effect Self-explanatory.
Matrix Microsoft.Xna.Framework.Matrix Self-explanatory.
Backup bool
Résultat void

Begin() public méthode

Begin the SpriteBatch
public Begin ( SpriteSortMode SortMode, Matrix Matrix, bool Backup = false ) : void
SortMode SpriteSortMode Self-explanatory.
Matrix Microsoft.Xna.Framework.Matrix Self-explanatory.
Backup bool
Résultat void

Draw() public méthode

public Draw ( Microsoft.Xna.Framework.Graphics.Texture2D Texture, Rectangle Bounds ) : void
Texture Microsoft.Xna.Framework.Graphics.Texture2D
Bounds Microsoft.Xna.Framework.Rectangle
Résultat void

Draw() public méthode

public Draw ( Microsoft.Xna.Framework.Graphics.Texture2D Texture, Rectangle Bounds, Microsoft.Xna.Framework.Color Color ) : void
Texture Microsoft.Xna.Framework.Graphics.Texture2D
Bounds Microsoft.Xna.Framework.Rectangle
Color Microsoft.Xna.Framework.Color
Résultat void

Draw() public méthode

public Draw ( Microsoft.Xna.Framework.Graphics.Texture2D Texture, Rectangle Bounds, Rectangle Source, Microsoft.Xna.Framework.Color Color, float Angle, Origin Origin, SpriteEffects Effect = SpriteEffects.None, float Layer ) : void
Texture Microsoft.Xna.Framework.Graphics.Texture2D
Bounds Microsoft.Xna.Framework.Rectangle
Source Microsoft.Xna.Framework.Rectangle
Color Microsoft.Xna.Framework.Color
Angle float
Origin Origin
Effect SpriteEffects
Layer float
Résultat void

Draw() public méthode

public Draw ( Microsoft.Xna.Framework.Graphics.Texture2D Texture, Vector2 Position, Rectangle Source, Microsoft.Xna.Framework.Color Color, float Angle, Origin Origin, Vector2 Scale, SpriteEffects Effect = SpriteEffects.None, float Layer ) : void
Texture Microsoft.Xna.Framework.Graphics.Texture2D
Position Microsoft.Xna.Framework.Vector2
Source Microsoft.Xna.Framework.Rectangle
Color Microsoft.Xna.Framework.Color
Angle float
Origin Origin
Scale Microsoft.Xna.Framework.Vector2
Effect SpriteEffects
Layer float
Résultat void

Draw() public méthode

public Draw ( Microsoft.Xna.Framework.Graphics.Texture2D Texture, Vector2 Position, Rectangle Source, Microsoft.Xna.Framework.Color Color, float Angle, Origin Origin, float Scale, SpriteEffects Effect = SpriteEffects.None, float Layer ) : void
Texture Microsoft.Xna.Framework.Graphics.Texture2D
Position Microsoft.Xna.Framework.Vector2
Source Microsoft.Xna.Framework.Rectangle
Color Microsoft.Xna.Framework.Color
Angle float
Origin Origin
Scale float
Effect SpriteEffects
Layer float
Résultat void

DrawRectangle() public méthode

public DrawRectangle ( Rectangle Bounds, Microsoft.Xna.Framework.Color Fill = null, Microsoft.Xna.Framework.Color Stroke = null, float Angle, int Size = 1, float Layer ) : void
Bounds Microsoft.Xna.Framework.Rectangle
Fill Microsoft.Xna.Framework.Color
Stroke Microsoft.Xna.Framework.Color
Angle float
Size int
Layer float
Résultat void

DrawString() public méthode

public DrawString ( string String, SpriteFont Font, Vector2 Position, Origin Origin, Microsoft.Xna.Framework.Color Fore, Microsoft.Xna.Framework.Color Back = null, float Angle, float Scale = 1, SpriteEffects Effect = SpriteEffects.None, float Layer ) : void
String string
Font Microsoft.Xna.Framework.Graphics.SpriteFont
Position Microsoft.Xna.Framework.Vector2
Origin Origin
Fore Microsoft.Xna.Framework.Color
Back Microsoft.Xna.Framework.Color
Angle float
Scale float
Effect SpriteEffects
Layer float
Résultat void

End() public méthode

public End ( ) : void
Résultat void

EndAll() public static méthode

public static EndAll ( ) : void
Résultat void

Restore() public méthode

public Restore ( ) : void
Résultat void

Property Details

Begun public_oe property

public bool Begun
Résultat bool