Community Tutorial: Creating a Custom Viewport without C++

Learn how to create a custom viewport with editor utility widgets. No C++ needed.

https://dev.epicgames.com/community/learning/tutorials/ryPw/creating-a-custom-viewport-without-c

1 Like

Would it be possible to see how you did the split widget resizing?

Hi Rmorer,

I don’t know how I missed this, but sure. All you need to do is something like this. MeshDisplacement in my case is the viewport widget, and I’m just resizing it based on the Size variable.

This is pretty cool, didn’t know it was possible to do that much viewport stuff without C++. You don’t happen to have that project somewhere to zip up and attach to this thread to save me the trouble of recreating it from the screenshots, do you? :smile:

Hi there, very nice and intresting tutorial.
I have noticed that when you add a viewport it has already a Directional Light that I cannot remove or turn off also adding a directional light does not effect the rotation is always at x0 y0 z0.
How could I turn the default directional light off or remove it totally?

Just jumping into this tutorial myself and have an answer for this question, even if it was asked a long time ago :smiley:

Simply drag off from the stored variable reference to the Viewport and set light intensity to 0.

This will hide the default directional light and remove any errors you might be getting about having multiple directional lights in the scene. Then you can add your own lights as needed :slight_smile:

image