API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdBaseCameraMotion Class > OdBaseCameraMotion Methods > OdBaseCameraMotion::getViewPlaneSize Method
OdBaseCameraMotion::getViewPlaneSize Method
Syntax
C++
virtual bool getViewPlaneSize(double& size);
Parameters 
Description 
double& size 
[out] A placeholder for the camera view plane size.  

Returns true if the view plane size should be taken into account during the animation; otherwise returns false.

Returns the current size of the camera's view plane. The method fills a passed value with the size of the camera view plane then returns it to a calling subroutine.

This method should be re-implemented and return true if you want to affect the view plane size during the animation. Default implementation returns false.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.