API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdBaseNodeMotion Class > OdBaseNodeMotion Methods > OdBaseNodeMotion::getTransformation Method
OdBaseNodeMotion::getTransformation Method
Syntax
C++
virtual bool getTransformation(OdGeMatrix3d& matrix);
Parameters 
Description 
OdGeMatrix3d& matrix 
[out] A placeholder for the node motion transformation matrix object.  

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

Returns the current transformation matrix for the node motion object. The method accepts a transformation matrix, fills it and then returns it to a calling subroutine.

This method should be re-implemented and return true if you want the node animation algorithm to take the transformation into account. Default implementation returns false.

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