API Reference > OdBrepBuilder Classes > OdBrepBuilder Class > OdBrepBuilder Methods > OdBrepBuilder::setFaceMaterialMapping Method
OdBrepBuilder::setFaceMaterialMapping Method
Syntax
C++
OdResult setFaceMaterialMapping(const BRepBuilderGeometryId & faceId, const OdGiMapper& materialMapper);
Parameters 
Description 
const BRepBuilderGeometryId & faceId 
[in] Face ID.  
const OdGiMapper& materialMapper 
[in] Material mapper.  

eOk if the operation is successful; eNotApplicable if it is not supported by the current implementation or the material mapping is part of the material.

Sets the material mapper for the face. 

 

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