SimApi Timer isTODAttachedToClock

From SIMboxWiki
Jump to navigation Jump to search

Icon attributes.pngstatic bool SimApi::Timer::isTODAttachedToClock()


    Gets the current "attach time of the day to clock" flag state.


    Type: bool   Description: True, if attached to the time of day clock; false, otherwise.


By default, every change to scenario the time of day will affect the graphics, for example, setting the time of day will create a night scenario. There are some cases when we would like to disable the graphic representation changes. This function determines whether the scenario is attached to the time of day or not. Valid from SIMbox version 5.0.

    See Also


    Related Links

     Recommended: Simulation Time Overview