PDA

View Full Version : Get Active Camera ?


Horganovski
08-21-2010, 01:21 AM
Is there a simple way to find the active camera in the scene via Coffee?

Seems like there should be something like 'GetActiveCamera();' but I can't find it in the SDK.

Cheers,
Brian

tcastudios
08-21-2010, 01:38 AM
var cam = doc->GetActiveBaseDraw()#BASEDRAW_DATA_CAMERA; // Get activ View


Cheers
Lennart

Horganovski
08-21-2010, 01:45 AM
Awesome, many thanks Lennart.

Cheers,
Brian

CGTalk Moderation
08-21-2010, 01:45 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.