BBMOD_DirectionalLight

Extends BBMOD_Light

constructor

new BBMOD_DirectionalLight([_color[, _direction]])

Description

A directional light.

Arguments

Name Type Description
_color Struct.BBMOD_Color/Undefined The light's color. Defaults to BBMOD_C_WHITE if undefined.
_direction Struct.BBMOD_Vec3/Undefined The light's direction. Defaults to (-1, 0, -1) if undefined.

Properties

Name Description
Color The color of the light. Defaults to white.
Direction The direction of the light.
Do you find this page helpful?

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