gfx2.cdrawTexture(x, y, width, height, texture, srcStartUvX, srcStartUvY, srcSizeUvX, srcSizeUvY, opacity)
Renders a texture with uv (same as in normal gfx, its the game's textures e.g. texture/ui/title)
Parameters
x
numberThe position on the x axis
y
numberThe position on the y axis
width
numberWidth of the image to render
height
numberHeight of the image to render
texture
stringpath to render (path from the root of a texture path, you can also use it as you'd use gfx.image)
srcStartUvX
numberWhere in the source should we start taking the image inputs normalized 0 - 1
srcStartUvY
numberWhere in the source should we start taking the image inputs normalized 0 - 1
srcSizeUvX
numberwhat size in the source image are we taking inputs normalized 0 - 1
srcSizeUvY
numberwhat size in the source image are we taking inputs normalized 0 - 1
opacity
number | "
nilOpactity at which to render the image at (0.0 to 1.0)
Return Value
This function does not return anything.