Package: pumpkin.display

GraphicsDrawOP


Description

The GraphicsDrawOP class is a low level drawing operations for drawing bitmaps to the screen.



Functions

calcFromUV

Calc UV from pixel x/y position, if matrix is present will multiply fill matrix.


Variables

material

Material to draw.

drawSrcRect

Output phase draw src rectangle.

drawWidth

Output draw width in pixels.

drawHeight

Output draw height in pixels.

flipped

Draw flipped.

srcRect

Input UV src rect ( 0-1 UV space ) ( experimental )

x

Draw position x in pixels.

y

Draw position y in pixels.

width

Draw width in pixels (see drawWidth).

height

Draw height in pixels (see drawHeight).

color

Color multiplier.

pixelSnapping

Snap pixels to screen pixels.

userData

simpleVectorShape

Internal vector shape to draw.

matrix

Draw matrix.

tilePosX

tilePosY