Page MenuHomeFeedback Tracker

Add an event callback when light activate/deactivate
Reviewed, UrgentPublic

Description

This could be useful :

  • when you want to apply an emissive texture to the object during night time for example
  • when you want to have a night sensor easily, without perf cost

This would be fired when light is spawned at day time and have day time enabled,
or this would fire when light activated when it's going night, and when the day coming and the light deactivates.

This event callback can return boolean, so if the return is true it's actually enabling/disabling the light.

Details

Severity
Major
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
General

Event Timeline

NiiRoZz created this task.Jul 23 2019, 9:56 PM
NiiRoZz updated the task description. (Show Details)Jul 23 2019, 10:02 PM
NiiRoZz updated the task description. (Show Details)Jul 23 2019, 10:21 PM
Geez changed the task status from New to Reviewed.EditedJul 24 2019, 3:00 PM
Geez added a subscriber: Geez.

Hello NiiRoZz.
We currently do not plan to add such feature, however, there are plans to add something similar in the future. ( GetGame().GetWorld().IsNight(); )
Regards,
Geez