PointLight and SpotLight settings.

Hi :).

I am trying to create a class blueprint whose components are a PointLight and a SpotLight. Let’s call this blueprint “SecondaryLight”.

My question is: is there any way to expose all the light settings (for example intensity, light color, attenuation radius…) so that they can be modified for each instance of SecondaryLight that I place in my level, without manually creating one variable of the appropriate type for each setting that I want exposed?

Thanks in advance.

Hi there,

Unfortunately there is no way (that I’m aware of) to expose the properties of the lights without creating public variables to hold the values, which are used to set the light properties in the construction script. So you will need to create them manually, but it is well worth the effort to do so if you plan to use many of these in your level. :slight_smile:

Thanks a lot DotCam, now I can get dirty with it knowing that I’m not neccesarily making a fool of myself :).