Corgi Engine v9.3
MoreMountains.Tools.LightController Class Reference

A class used to control the intensity of a light More...

Inheritance diagram for MoreMountains.Tools.LightController:

Public Attributes

Light TargetLight
 the light to control More...
 
List< Light > TargetLights
 the lights to control More...
 
float Intensity = 1f
 the new intensity More...
 
float Multiplier = 1f
 the multiplier to apply More...
 
float Range = 1f
 the new range More...
 
Color LightColor
 the new color More...
 

Protected Member Functions

virtual void Start ()
 On Start, we initialize our light More...
 
virtual void Initialization ()
 Grabs the light, sets initial range and color More...
 
virtual void Update ()
 On Update we apply our light settings More...
 
virtual void ApplyLightSettings ()
 Applys the new intensity, range and color to the light More...
 

Detailed Description

A class used to control the intensity of a light

Member Function Documentation

◆ ApplyLightSettings()

virtual void MoreMountains.Tools.LightController.ApplyLightSettings ( )
protectedvirtual

Applys the new intensity, range and color to the light

◆ Initialization()

virtual void MoreMountains.Tools.LightController.Initialization ( )
protectedvirtual

Grabs the light, sets initial range and color

◆ Start()

virtual void MoreMountains.Tools.LightController.Start ( )
protectedvirtual

On Start, we initialize our light

◆ Update()

virtual void MoreMountains.Tools.LightController.Update ( )
protectedvirtual

On Update we apply our light settings

Member Data Documentation

◆ Intensity

float MoreMountains.Tools.LightController.Intensity = 1f

the new intensity

◆ LightColor

Color MoreMountains.Tools.LightController.LightColor

the new color

◆ Multiplier

float MoreMountains.Tools.LightController.Multiplier = 1f

the multiplier to apply

◆ Range

float MoreMountains.Tools.LightController.Range = 1f

the new range

◆ TargetLight

Light MoreMountains.Tools.LightController.TargetLight

the light to control

◆ TargetLights

List<Light> MoreMountains.Tools.LightController.TargetLights

the lights to control


The documentation for this class was generated from the following file: