camera target distance
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 23/02/2010 at 08:14, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 11
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ;---------
Hi,Could someone please tell me how to get the camera 'Target Distance' ?
static_cast<CameraObject *>(op)->GetData().GetReal(CAMERAOBJECT_TARGETDISTANCE, v)
does not work for me.
I do not quite understand how to do this in the description way with GetParameter.Regards,
jana -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 24/02/2010 at 00:00, xxxxxxxx wrote:
GeData d; if (op->GetParameter(DescLevel(CAMERAOBJECT_TARGETDISTANCE),d,0)) GePrint(RealToString(d.GetReal()));
It has been discussed several times on the forum as well. Please make use of the forum's search.
cheers,
Matthias -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 25/02/2010 at 02:57, xxxxxxxx wrote:
Thanks Matthias,
I will do a better search job.
jana