C# 클래스 Nez.Sprites.SpriteMime

this component will draw the same frame of of spriteToMime every frame. The only difference in rendering is that SpriteMime uses its own localPosition and color. This allows you to use it for the purpose of shadows (by offsetting via localPosition) or silhouettes (with a Material that has a stencil read).
상속: RenderableComponent
파일 보기 프로젝트 열기: prime31/Nez

공개 메소드들

메소드 설명
SpriteMime ( Sprite spriteToMime )
render ( Graphics graphics, Camera camera ) : void

메소드 상세

SpriteMime() 공개 메소드

public SpriteMime ( Sprite spriteToMime )
spriteToMime Sprite

render() 공개 메소드

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