Extends BBMOD_PunctualLight
constructor
new BBMOD_PointLight([_color[, _position[, _range]]])
A point light.
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. |
Copyright © 2023, BlueBurn. Built on March 24, 2023 using GMDoc.