Sign in to follow this  
lucky6969b

Get Cameras in Active Viewport (3ds max)

Recommended Posts

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

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

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
Jack

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