API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdAnimation Class > OdAnimation Methods > OdAnimation::getCameraMotion Method
OdAnimation::getCameraMotion Method
Syntax
C++
void getCameraMotion(OdUInt64& start_frame, OdUInt64& end_frame, OdBaseCameraMotionPtr& motion) const;
Parameters 
Description 
OdUInt64& start_frame 
[out] A placeholder for the camera motion start frame.  
OdUInt64& end_frame 
[out] A placeholder for the camera motion end frame.  
OdBaseCameraMotionPtr& motion 
[out] A placeholder for the smart pointer to the camera motion object. 

Returns the current camera motion handler associated with the animation. The method fills passed values with the start frame index, end frame index and with a smart pointer to the camera motion object, then returns them to a calling subroutine.

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