BBMOD_PunctualLight

Extends BBMOD_Light

constructor

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

Description

Base struct for punctual lights.

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.

Properties

Name Description
Color The color of the light. Default value is BBMOD_C_WHITE.
Range The range of the light.

See also

BBMOD_PointLight, BBMOD_SpotLight

Do you find this page helpful?

Copyright © 2023, BlueBurn. Built on February 04, 2023 using GMDoc.