API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdBaseCameraMotion Class > OdBaseCameraMotion Methods > OdBaseCameraMotion::step Method
OdBaseCameraMotion::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 animation should be moved to the specified frame; otherwise returns false.

Moves the animation to a specified frame.

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

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