Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.render.drawTexturedRectUVFast

C๐Ÿท๏ธ Render

Part of StarfallEx namespace

๐Ÿ”— External
render.drawTexturedRectUVFast(x, y, w, h, startU, startV, endU, endV, UVHack)
View on GitHub|lua/starfall/libs_cl/render.lua:1583
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Draws a textured rectangle with UV coordinates Faster, but uses integer coordinates and will get clipped by user's screen resolution

Parameters

NameTypeDescription
xnumberTop left corner x
ynumberTop left corner y
wnumberWidth
hnumberHeight
startUnumberTexture mapping at rectangle's origin U
startVnumberTexture mapping at rectangle's origin V
endUnumberTexture mapping at rectangle's end U
endVnumberTexture mapping at rectangle's end V
UVHack?booleanIf enabled, will scale the UVs to compensate for internal bug. Should be true for user created materials.

Returns

No return values documented.

Examples

No examples available.

Used In

No usages found in the codebase.