Get/Set Camera Position From C++
How do I get the position of the 3D camera from the PlugIn interface? I want to programmatically generate screenshots at different positions and orientations.
I've tried ac_object_get_centre(ac_views_get_default_camera() ), and it gives the position of something, but it doesn't seem to change as I move the 3D view around.
Once I get the position, how can I move the camera? ac_camera_move_forward() doesn't seem to do anything either.
|