Rendertarget
self:get_type
Client
Returns the type name of the instance
Syntax
local result = self:get_type()Parameters
| Type | Name | Description |
|---|
Returns
| Type | Name | Description |
|---|---|---|
string / bool | result | Type of the instance, or false if unavailable |
Examples
local rt = rendertarget.create(1920, 1080, false)
engine.print("info", rt:get_type()) --'rendertarget'