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

Returns true if the position value should be taken into account during the animation; otherwise returns false.

Returns the current camera position. The method fills a passed point with the camera position point then returns it to a calling subroutine.

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

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