Point Light
light.point.bake_mode
ClientEnumeration of baking behaviors for a point light
Values
| Constant | Description |
|---|---|
light.point.bake_mode.DISABLED | Light is not baked and contributes only to real-time lighting |
light.point.bake_mode.STATIC | Light is baked into lightmaps and global illumination, and does not update at runtime |
light.point.bake_mode.DYNAMIC | Light is baked into global illumination but can still be modified at runtime |
Examples
local entity = light.point.create()
entity:set_bake_mode(light.point.bake_mode.STATIC)