Embedding viewport panel into custom UI


#1

How should I approach creating a UI that has a viewport as part of the UI? I’ve looked at paneLayout, modelLayout, and modelEditor cmds commands and I feel like I’m running in circles. If someone has a good example of this in action, I’d really like to take a look at it.