Class: Light

shf3d.Light

Class representing a light source in a 3D scene.

Scenes without light sources display objects in the ambient light only, without highlights or shades.

A scene may use up to 16 light sources.

new shf3d.Light ()

Properties:
Name Type Description
color color

The light color.

range number

The range of the light until 100% fall-off.

Extends