Function: GetTextureRect()
ts
function GetTextureRect(this: void, name: string): Frect;Get the texture rectangle for a UI atlas entry.
Parameters
| Parameter | Type | Description |
|---|---|---|
this | void | - |
name | string | Texture atlas entry name. |
Returns
Texture rectangle.
Remarks
Uses the engine's fatal texture lookup path when the atlas entry is missing.