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
Показать файл Открыть проект

Открытые методы

Метод Описание
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