LightingModel.setUseTransitioners()

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

Overview

This function toggles whether or not changes in lighting will be applied smoothly or instantly.

Syntax

LightingModel.setUseTransitioners( value )
value (required)

boolean. True to transition lighting changes smoothly, false to transition lighting changes immediately.

Examples

-- Enable smooth lighting transitions
lightingModelInstance.setUseTransitioners(true)