THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 15/03/2009 at 02:55, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 9.1
Platform: Windows ;
Language(s) : C.O.F.F.E.E ;
---------
Hi,
I need to obtain the field of view of the current camera inside an XPRESSO-network. At the moment I use a coffee-node to get the current camera using the following code:
> var activeCam = doc->GetActiveBaseDraw()#BASEDRAW_DATA_CAMERA;
But how do I obtain the field of view of that camera? I didn't find anything on that in the SDK (HTML, the winhelp-version seems to be broken, I downloaded it, but all pages seem to miss content). Apparently there are no special classes for different types of objects in COFFEE and I can only use the methods of BaseObject ?! Is there some container ID I missed? Unfortunatly I didn't find a complete list of IDs in the HTML SDK. The BASEDRAW_DATA_CAMERA I only found in an example in the forum, but not in the SDK.
Thanks,
Chris