Window.draw

Draw a texture with a precalculated transform

Parameters

tex Texture

the texture

x float

the x in units

y float

the y in units

w float

the width in units

h float

the height in units

flipHorizontal bool

if the texture should be flipped horizontally

flipVertical bool

if the texture should be flipped vertically

color Color

the color to blend with

Meta