API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdAnimation Class > OdAnimation Methods > OdAnimation::getNodeMotions Method
OdAnimation::getNodeMotions Method
Syntax
C++
void getNodeMotions(OdUInt64Array& starts_frame, OdUInt64Array& ends_frame, OdBaseNodeMotionPtrArray& motions) const;
Parameters 
Description 
OdUInt64Array& starts_frame 
[out] A placeholder for motion start frames.  
OdUInt64Array& ends_frame 
[out] A placeholder for motion end frames.  
OdBaseNodeMotionPtrArray& motions 
[out] A placeholder for the array of node motion objects. 

Returns all node motion handlers associated with the animation. The method fills the passed arrays with start and end frame numbers and with smart pointers to motion objects, then returns them to a calling subroutine.

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