C# 클래스 RenderingLibrary.Graphics.SpriteRenderer

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

Private Properties

프로퍼티 타입 설명
ClearPerformanceRecordingVariables void
CreateRasterizerStates void
Draw void
Draw void
Draw void
DrawString void
End void
GetSamplerState Microsoft.Xna.Framework.Graphics.SamplerState
GetZoomAndMatrix Matrix

공개 메소드들

메소드 설명
Begin ( ) : void
BeginSpriteBatch ( RenderStateVariables renderStates, Layer layer, BeginType beginType, Camera camera ) : void
EndSpriteBatch ( ) : void
Initialize ( GraphicsDevice graphicsDevice ) : void

비공개 메소드들

메소드 설명
ClearPerformanceRecordingVariables ( ) : void
CreateRasterizerStates ( ) : void
Draw ( Microsoft.Xna.Framework.Graphics.Texture2D textureToUse, Rectangle destinationRectangle, Rectangle sourceRectangle, Color color, float rotation, Vector2 vector2, SpriteEffects effects, int layerDepth, object objectRequestingChange ) : void
Draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture2D, Rectangle destinationRectangle, Rectangle sourceRectangle, Color color, object objectRequestingChange ) : void
Draw ( Microsoft.Xna.Framework.Graphics.Texture2D textureToUse, Vector2 position, Rectangle sourceRectangle, Color color, float rotation, Vector2 vector22, Vector2 scale, SpriteEffects effects, float depth, object objectRequestingChange ) : void
DrawString ( SpriteFont font, string line, Vector2 offset, Color color, object objectRequestingChange ) : void
End ( ) : void
GetSamplerState ( RenderStateVariables renderStates ) : SamplerState
GetZoomAndMatrix ( Layer layer, Camera camera ) : Matrix

메소드 상세

Begin() 공개 메소드

public Begin ( ) : void
리턴 void

BeginSpriteBatch() 공개 메소드

public BeginSpriteBatch ( RenderStateVariables renderStates, Layer layer, BeginType beginType, Camera camera ) : void
renderStates RenderStateVariables
layer Layer
beginType BeginType
camera Camera
리턴 void

EndSpriteBatch() 공개 메소드

public EndSpriteBatch ( ) : void
리턴 void

Initialize() 공개 메소드

public Initialize ( GraphicsDevice graphicsDevice ) : void
graphicsDevice GraphicsDevice
리턴 void