Part of StarfallEx namespace
๐ External
render.drawTexturedRectUVFast(x, y, w, h, startU, startV, endU, endV, UVHack)๐ 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
| Name | Type | Description |
|---|---|---|
x | number | Top left corner x |
y | number | Top left corner y |
w | number | Width |
h | number | Height |
startU | number | Texture mapping at rectangle's origin U |
startV | number | Texture mapping at rectangle's origin V |
endU | number | Texture mapping at rectangle's end U |
endV | number | Texture mapping at rectangle's end V |
UVHack? | boolean | If 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.