Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdAnimation::addNodeMotion Method
Syntax
C++
void addNodeMotion(const OdUInt64& start_frame, const OdUInt64& end_frame, OdBaseNodeMotionPtr motion);

Adds an object that handles a node motion when the animation is played.

Parameters
Description
start_frame
[in] A start frame. Determines when the node motion starts.
end_frame
[in] An end frame. Determines when the node motion stops.
motion
[in] A smart pointer to a node motion object.

The motion object should be an instance of a class inherited from the OdBaseNodeMotion class.

Copyright © 2002-2022. Open Design Alliance All rights reserved.