ITexture
Fields
This class has no fields.
Functions
GetActualHeight
This function has no parameters.
Return value
Name | Type | Description |
---|---|---|
value | int | Actual texture height |
local height = texture:GetActualHeight()
GetActualWidth
This function has no parameters.
Return value
Name | Type | Description |
---|---|---|
value | string | Actual texture width |
local width = texture:GetActualWidth()
GetMappingHeight
This function has no parameters.
Return value
Name | Type | Description |
---|---|---|
value | int | Texture mapping height |
local height = texture:GetMappingHeight()
GetMappingWidth
This function has no parameters.
Return value
Name | Type | Description |
---|---|---|
value | int | Texture mapping width |
local width = texture:GetMappingWidth()
GetName
This function has no parameters.
Return value
Name | Type | Description |
---|---|---|
value | string | Name of the texture |
local name = texture:GetName()
IsError
This function has no parameters.
Return value
Name | Type | Description |
---|---|---|
value | bool | Returns true if the texture data couldn't be loaded |
local is_error = texture:IsError()