Sign in to follow this  

Get Cameras in Active Viewport (3ds max)

Recommended Posts

How can I get all the cameras in the active viewport of 3ds max?

Interface *ip2 = GetCOREInterface();
ViewExp * pView = ip2->GetActiveViewport(); // Get the viewport in question
GraphicsWindow *gw = pView->getGW(); // Get the GraphicsWindow context

This code snippet gets the active camera I am using to view stuff.
I want to get all cameras in the active viewport.
Is it possible?
Let me know
Thanks a lot

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this