C# 클래스 Nez.PrototypeSprite

skewable rectangle sprite for prototyping
상속: Sprite
파일 보기 프로젝트 열기: prime31/Nez

공개 메소드들

메소드 설명
PrototypeSprite ( float width, float height ) : Microsoft.Xna.Framework
render ( Graphics graphics, Camera camera ) : void
setHeight ( float height ) : PrototypeSprite

sets the height of the sprite

setSkew ( float skewTopX, float skewBottomX, float skewLeftY, float skewRightY ) : PrototypeSprite

sets the skew values for the sprite

setWidth ( float width ) : PrototypeSprite

sets the width of the sprite

메소드 상세

PrototypeSprite() 공개 메소드

public PrototypeSprite ( float width, float height ) : Microsoft.Xna.Framework
width float
height float
리턴 Microsoft.Xna.Framework

render() 공개 메소드

public render ( Graphics graphics, Camera camera ) : void
graphics Graphics
camera Camera
리턴 void

setHeight() 공개 메소드

sets the height of the sprite
public setHeight ( float height ) : PrototypeSprite
height float Height.
리턴 PrototypeSprite

setSkew() 공개 메소드

sets the skew values for the sprite
public setSkew ( float skewTopX, float skewBottomX, float skewLeftY, float skewRightY ) : PrototypeSprite
skewTopX float Skew top x.
skewBottomX float Skew bottom x.
skewLeftY float Skew left y.
skewRightY float Skew right y.
리턴 PrototypeSprite

setWidth() 공개 메소드

sets the width of the sprite
public setWidth ( float width ) : PrototypeSprite
width float Width.
리턴 PrototypeSprite