Part of StarfallEx namespace
๐ External
render.setModelLighting(lightDirection, r, g, b)๐ Has LDoc๐๏ธ 0 viewsUpdated 2 months ago
Description
Sets up the ambient lighting for any upcoming render operation. Ambient lighting can be seen as a cube enclosing the object to be drawn, each of its faces representing a directional light source that shines towards the object.
Parameters
| Name | Type | Description |
|---|---|---|
lightDirection | number | The light source to edit, builtins.BOX enumeration. |
r | number | The red component of the light color. |
g | number | The green component of the light color. |
b | number | The blue component of the light color. |
Returns
No return values documented.
Examples
No examples available.
Used In
No usages found in the codebase.