Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.light.create

C๐Ÿท๏ธ Light

Part of StarfallEx namespace

๐Ÿ”— External
light.create(pos, size, brightness, color)
View on GitHub|lua/starfall/libs_cl/light.lua:140
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Creates a dynamic light (make sure to draw it)

Parameters

NameTypeDescription
posVectorThe position of the light
sizenumberThe size of the light. Must be lower than sf_light_maxsize
brightnessnumberThe brightness of the light
colorColorThe color of the light

Returns

TypeDescription
LightDynamic light

Examples

No examples available.

Used In

No usages found in the codebase.