Inventory Engine v4.2
Loading...
Searching...
No Matches
MoreMountains.Tools.LightController Class Reference

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

Inherits MonoBehaviour.

Public Attributes

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

Protected Member Functions

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

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: