API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdBaseCameraMotion Class > OdBaseCameraMotion Methods > OdBaseCameraMotion::getProjection Method
OdBaseCameraMotion::getProjection Method
Syntax
C++
virtual bool getProjection(Camera::Projection& type);
Parameters 
Description 
Camera::Projection& type 
[out] A placeholder for the projection type value.  

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

Returns the current camera projection type. The method fills a passed value with the camera projection type value then returns it to a calling subroutine.

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

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