C# Class 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).
Inheritance: RenderableComponent
Afficher le fichier Open project: prime31/Nez

Méthodes publiques

Méthode Description
SpriteMime ( Sprite spriteToMime )
render ( Graphics graphics, Camera camera ) : void

Method Details

SpriteMime() public méthode

public SpriteMime ( Sprite spriteToMime )
spriteToMime Sprite

render() public méthode

public render ( Graphics graphics, Camera camera ) : void
graphics Graphics
camera Camera
Résultat void