BBMOD_PointLight

Extends BBMOD_PunctualLight

constructor

new BBMOD_PointLight([_color[, _position[, _range]]])

Description

A point light.

Arguments

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.
Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on November 16, 2022 using GMDoc.