C# Класс Nez.PrototypeSprite

skewable rectangle sprite for prototyping
Наследование: Sprite
Показать файл Открыть проект

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

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