API Reference > OdDb Classes > OdDbEntity Class > OdDbEntity Methods > OdDbEntity::getCompoundObjectTransform Method
OdDbEntity::getCompoundObjectTransform Method
Syntax
C++
ODRX_SEALED_VIRTUAL OdResult getCompoundObjectTransform(OdGeMatrix3d & xM) const;

Is applicable for compound objects only which return the kDrawableIsCompoundObject flag from subSetAttributes(). The matrix returned is the one that is passed to pushModelTransform before rendering nested objects. Default implementation returns OdDb::eNotApplicable and the identity matrix in xM.

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