Skip to content

Latest commit

 

History

History
157 lines (83 loc) · 4.43 KB

LightBase.rst

File metadata and controls

157 lines (83 loc) · 4.43 KB

LightBase

This is the base class for light objects.

Inherit:

SceneObject

Description

It is NOT intended to be used directly in script, but exists to provide the base member variables and generic functionality. You should be using the derived classes PointLight and SpotLight, which can be declared in TorqueScript or added from the World Editor.

For this class, we only add basic lighting options that all lighting systems would use. The specific lighting system options are injected at runtime by the lighting system itself.

Methods

Fields