self:reset_texture

Client

Removes the currently active texture from the area light


Syntax

local status = self:reset_texture()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Remove the texture from an area light
local entity = light.area.create()

entity:reset_texture()

On this page