LightingModel.update()

   
Type function
Library wattageTileEngine.LightingModel.*
Return value VOID
Keywords  
See also  

Overview

This function updates the lighting model. This will result in handling any dirty lighting information as well as advancing any transitions between lighting states.

Syntax

LightingModel.update( timeDelta )
timeDelta (required)

Number. The time passed in milliseconds since the last update call.

Examples

lightingModelInstance.update( 1000 / 60 )