Skip to content

Function: GetTextureRect() ​

ts
function GetTextureRect(this: void, name: string): Frect;

Get the texture rectangle for a UI atlas entry.

Parameters ​

ParameterTypeDescription
thisvoid-
namestringTexture atlas entry name.

Returns ​

Frect

Texture rectangle.

Remarks ​

Uses the engine's fatal texture lookup path when the atlas entry is missing.