BBMOD_PointLight

Extends BBMOD_Light

constructor

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

Description

A point light.

Arguments

Name Type Description
_color Struct.BBMOD_Color/Undefined The light's color. Defaults to BBMOD_C_WHITE.
_position Struct.BBMOD_Vec3/Undefined 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. Defaults to white.
Range The range of the light.
Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on May 18, 2022 using GMDoc.