API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdBaseNodeMotion Class > OdBaseNodeMotion Methods > OdBaseNodeMotion::step Method
OdBaseNodeMotion::step Method
Syntax
C++
virtual bool step(const OdUInt64& frame);
Parameters 
Description 
const OdUInt64& frame 
[in] A frame index to move the animation to.  

Returns true if the node animation should be moved to the specified frame; otherwise it returns false.

Moves the node animation to a specified frame.

This method is mandatory for a re-implementation when defining a custom class inherited from the OdBaseNodeMotion class. To advance the node animation, this method must return true. Default implementation returns false.

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