API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdBaseCameraMotion Class > OdBaseCameraMotion Methods > OdBaseCameraMotion::getUpVector Method
OdBaseCameraMotion::getUpVector Method
Syntax
C++
virtual bool getUpVector(OdGeVector3d& vector);
Parameters 
Description 
OdGeVector3d& vector 
[out] A placeholder for the camera up-vector object.  

Returns true if the up-vector should be taken into account during the animation; otherwise returns false.

Returns the current camera up-vector. The method fills a passed vector with the camera up-vector object then returns it to a calling subroutine.

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

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