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

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

공개 메소드들

메소드 설명
Contains ( string Path ) : bool
Draw ( string Path, Rectangle Bounds, Rectangle Source, Color Color, float Angle, Origin Origin, SpriteEffects Effect = SpriteEffects.None, float Layer ) : void
Draw ( string Path, Vector2 Position, Rectangle Source, Color Color, float Angle, Origin Origin, Vector2 Scale, SpriteEffects Effect = SpriteEffects.None, float Layer ) : void
Draw ( string Path, Vector2 Position, Rectangle Source, Color Color, float Angle, Origin Origin, float Scale, SpriteEffects Effect = SpriteEffects.None, float Layer ) : void
Draw ( this Texture, Batch Batch, Rectangle Bounds, Rectangle Source, Color Color, float Angle, Origin Origin, SpriteEffects Effect = SpriteEffects.None, float Layer ) : void
Draw ( this Texture, Batch Batch, Vector2 Position, Rectangle Source, Color Color, float Angle, Origin Origin, Vector2 Scale, SpriteEffects Effect = SpriteEffects.None, float Layer ) : void
Draw ( this Texture, Batch Batch, Vector2 Position, Rectangle Source, Color Color, float Angle, Origin Origin, float Scale, SpriteEffects Effect = SpriteEffects.None, float Layer ) : void
Draw ( this Texture, Rectangle Bounds, Rectangle Source, Color Color, float Angle, Origin Origin, SpriteEffects Effect = SpriteEffects.None, float Layer ) : void
Draw ( this Texture, Vector2 Position, Rectangle Source, Color Color, float Angle, Origin Origin, Vector2 Scale, SpriteEffects Effect = SpriteEffects.None, float Layer ) : void
Draw ( this Texture, Vector2 Position, Rectangle Source, Color Color, float Angle, Origin Origin, float Scale, SpriteEffects Effect = SpriteEffects.None, float Layer ) : void
Exists ( string Path ) : bool
Get ( string Path ) : Microsoft.Xna.Framework.Graphics.Texture2D
Load ( string Path, string rootDir = "" ) : void
LoadTextures ( string path ) : void

Load textures for a given path.

Pixel ( Color Color, bool Store = false ) : Texture2D

Get/Make a 1x1 Colored Pixel

Unload ( string Path ) : void

비공개 메소드들

메소드 설명
DirSearch ( string directory ) : IEnumerable

Recursively search a directory for sub folders and files.

메소드 상세

Contains() 공개 정적인 메소드

public static Contains ( string Path ) : bool
Path string
리턴 bool

Draw() 공개 정적인 메소드

public static Draw ( string Path, Rectangle Bounds, Rectangle Source, Color Color, float Angle, Origin Origin, SpriteEffects Effect = SpriteEffects.None, float Layer ) : void
Path string
Bounds Microsoft.Xna.Framework.Rectangle
Source Microsoft.Xna.Framework.Rectangle
Color Color
Angle float
Origin Origin
Effect SpriteEffects
Layer float
리턴 void

Draw() 공개 정적인 메소드

public static Draw ( string Path, Vector2 Position, Rectangle Source, Color Color, float Angle, Origin Origin, Vector2 Scale, SpriteEffects Effect = SpriteEffects.None, float Layer ) : void
Path string
Position Vector2
Source Microsoft.Xna.Framework.Rectangle
Color Color
Angle float
Origin Origin
Scale Vector2
Effect SpriteEffects
Layer float
리턴 void

Draw() 공개 정적인 메소드

public static Draw ( string Path, Vector2 Position, Rectangle Source, Color Color, float Angle, Origin Origin, float Scale, SpriteEffects Effect = SpriteEffects.None, float Layer ) : void
Path string
Position Vector2
Source Microsoft.Xna.Framework.Rectangle
Color Color
Angle float
Origin Origin
Scale float
Effect SpriteEffects
Layer float
리턴 void

Draw() 공개 정적인 메소드

public static Draw ( this Texture, Batch Batch, Rectangle Bounds, Rectangle Source, Color Color, float Angle, Origin Origin, SpriteEffects Effect = SpriteEffects.None, float Layer ) : void
Texture this
Batch Batch
Bounds Microsoft.Xna.Framework.Rectangle
Source Microsoft.Xna.Framework.Rectangle
Color Color
Angle float
Origin Origin
Effect SpriteEffects
Layer float
리턴 void

Draw() 공개 정적인 메소드

public static Draw ( this Texture, Batch Batch, Vector2 Position, Rectangle Source, Color Color, float Angle, Origin Origin, Vector2 Scale, SpriteEffects Effect = SpriteEffects.None, float Layer ) : void
Texture this
Batch Batch
Position Vector2
Source Microsoft.Xna.Framework.Rectangle
Color Color
Angle float
Origin Origin
Scale Vector2
Effect SpriteEffects
Layer float
리턴 void

Draw() 공개 정적인 메소드

public static Draw ( this Texture, Batch Batch, Vector2 Position, Rectangle Source, Color Color, float Angle, Origin Origin, float Scale, SpriteEffects Effect = SpriteEffects.None, float Layer ) : void
Texture this
Batch Batch
Position Vector2
Source Microsoft.Xna.Framework.Rectangle
Color Color
Angle float
Origin Origin
Scale float
Effect SpriteEffects
Layer float
리턴 void

Draw() 공개 정적인 메소드

public static Draw ( this Texture, Rectangle Bounds, Rectangle Source, Color Color, float Angle, Origin Origin, SpriteEffects Effect = SpriteEffects.None, float Layer ) : void
Texture this
Bounds Microsoft.Xna.Framework.Rectangle
Source Microsoft.Xna.Framework.Rectangle
Color Color
Angle float
Origin Origin
Effect SpriteEffects
Layer float
리턴 void

Draw() 공개 정적인 메소드

public static Draw ( this Texture, Vector2 Position, Rectangle Source, Color Color, float Angle, Origin Origin, Vector2 Scale, SpriteEffects Effect = SpriteEffects.None, float Layer ) : void
Texture this
Position Vector2
Source Microsoft.Xna.Framework.Rectangle
Color Color
Angle float
Origin Origin
Scale Vector2
Effect SpriteEffects
Layer float
리턴 void

Draw() 공개 정적인 메소드

public static Draw ( this Texture, Vector2 Position, Rectangle Source, Color Color, float Angle, Origin Origin, float Scale, SpriteEffects Effect = SpriteEffects.None, float Layer ) : void
Texture this
Position Vector2
Source Microsoft.Xna.Framework.Rectangle
Color Color
Angle float
Origin Origin
Scale float
Effect SpriteEffects
Layer float
리턴 void

Exists() 공개 정적인 메소드

public static Exists ( string Path ) : bool
Path string
리턴 bool

Get() 공개 정적인 메소드

public static Get ( string Path ) : Microsoft.Xna.Framework.Graphics.Texture2D
Path string
리턴 Microsoft.Xna.Framework.Graphics.Texture2D

Load() 공개 정적인 메소드

public static Load ( string Path, string rootDir = "" ) : void
Path string
rootDir string
리턴 void

LoadTextures() 공개 정적인 메소드

Load textures for a given path.
public static LoadTextures ( string path ) : void
path string
리턴 void

Pixel() 공개 정적인 메소드

Get/Make a 1x1 Colored Pixel
public static Pixel ( Color Color, bool Store = false ) : Texture2D
Color Color The Color of the Pixel.
Store bool Store the Pixel in Memory, for Regular usage?
리턴 Texture2D

Unload() 공개 정적인 메소드

public static Unload ( string Path ) : void
Path string
리턴 void