From the course: Unreal Engine: Lunchtime Lessons

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Adjusting lights with a slider

Adjusting lights with a slider

- [Teacher] Hi, I'm George Mistry. Let's take a look at interfaces today and use a slider to control the intensity of a spotlight. Now in this scene, I do have a spotlight. And if I left click on it, you'll see that under Intensity, I can certainly turn it up or down here, but let's make it a little bit more interactive and set it using a slider. So in order to do this, we need to first create a slider and then attach that to the spotlight. Now all of this is going to happen in blueprint. So let's hop over to this Blueprint folder and we'll create everything there. Now in order to create a slider, you need to create a widget. So let's go ahead and right click, and under User Interface, we're going to create a Widget Blueprint. And let's just call this SliderSpotBP, for blueprint, and double click on that. And so this brings up a very nice interface where we can create our slider. So I'm going to scroll down till I…

Contents