Texture::SetTexCoordModifiesRect
function · ui · primitive
- Address
0x79c080· 159 bytes, up to0x79c11e- Signature
int __fastcall (lua_State *L)- Meaning
- Implements the Texture method SetTexCoordModifiesRect
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/texture#reading-the-image-and-the-coordinates
Finding: Reading the image and the coordinates in ui: texture colour and drawing
GetTexture() answers the name of the image without its extension, or nil when there is no image. A solid fill is named Solid Texture. GetTexCoord() answers
the eight coordinates in the order top left, bottom left, top right, bottom right, each as a pair. SetTexCoord(minX, maxX, minY, maxY) sets the same four corners
from a rectangle, and SetTexCoord(ULx, ULy, LLx, LLy, URx, URy, LRx, LRy) sets all eight; any other number of arguments raises
Usage: %s:SetTexCoord(minX, maxX, minY, maxY) or SetTexCoord(ULx, ULy, LLx, LLy, URx, URy, LRx, LRy). When SetTexCoordModifiesRect is on, a change of coordinates
recomputes the vertices from the resolved rectangle.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 6
- GetScriptFlagArg ui
- lua_settop lua
- lua_type lua
- lua_touserdata lua
- lua_rawgeti lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.