BBMOD_DirectionalLight

Extends BBMOD_Light

constructor

new BBMOD_DirectionalLight([_color[, _direction]])

Description

A directional light.

Arguments

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

Properties

Name Description
Color The color of the light. Defaul value is BBMOD_C_WHITE.
Direction The direction of the light. Default value is (-1, 0, -1).
ShadowmapArea The area captured by the shadowmap. Defaults to 1024.
Do you find this page helpful?

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