Close

Relief for ODA Team in Ukraine

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

Sets an object that handles the camera motion when the animation is played.

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

The motion object should be an instance of a class inherited from the OdBaseCameraMotion class. Note that for any animation, only one object of the OdBaseCameraMotion class can be set.

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