Next: , Previous: , Up: Lighting   [Contents][Index]


11.2 Light Controller

Component: LightController

Light Controller allows you to adjust the settings of this light at run-time and animate it’s brightness & color without creating a new animation. To use, first define a curve for the intensity over time that you want. To have a duration or intensity greater than 1, simply right-click the appropriate node and click ’Edit Key’ which will allow you to input values manually. Note that if you want the intensity to loop smoothly, you should set the first and last nodes to ’Flat’ tangents, which can also be set by right-clicking the node. Next, define a color gradient if you want the color of the light to change in ’Color Over Time’. This will evaluate the current color based on the time in the curve. This component combines the intensity and color transitions and sends them to the light to produce the effect that you want.

Field of LightController: Gradient colorOverTime

Color gradient is also applied based on the length value of ’Intensity Over Time’, so if the brightness total length is 3 seconds, it will take 3 seconds to go through the gradient as well.

Field of LightController: bool looping

When we reach the end, should we loop?

Default value: true

Field of LightController: Gradient colorOverTime

Color gradient is also applied based on the length value of ’Intensity Over Time’, so if the brightness total length is 3 seconds, it will take 3 seconds to go through the gradient as well.

Field of LightController: bool looping

When we reach the end, should we loop?

Default value: true


Next: , Previous: , Up: Lighting   [Contents][Index]