API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdBaseCameraMotion Class > OdBaseCameraMotion Methods > OdBaseCameraMotion::getTargetNode Method
OdBaseCameraMotion::getTargetNode Method
Syntax
C++
virtual bool getTargetNode(OdString& node_name);
Parameters 
Description 
OdString& node_name 
[out] A placeholder for the name of the camera target node.  

Returns true if the target node should be taken into account during the animation; otherwise returns false.

Returns the current camera target node. The method fills a passed string with the name of the camera target node then returns it to a calling subroutine.

This method should be re-implemented and return true if you want to specify the camera target during the animation. Default implementation returns false.

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