Extends BBMOD_Light
constructor
new BBMOD_PunctualLight([_color[, _position[, _range]]])
Base struct for punctual lights.
Name | Type | Description |
---|---|---|
_color | Struct.BBMOD_Color |
The light's color. Defaults to BBMOD_C_WHITE. |
_position | Struct.BBMOD_Vec3 |
The light's position. Defaults to (0, 0, 0) . |
_range | Real |
The light's range. Defaults to 1. |
Name | Description |
---|---|
Color | The color of the light. Default value is BBMOD_C_WHITE. |
Range | The range of the light. |
BBMOD_PointLight, BBMOD_SpotLight
Copyright © 2023, BlueBurn. Built on February 04, 2023 using GMDoc.