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.  

eNotApplicable if not supported in implementation or material mapping is part of material, eOk if succes.

Sets material mapping for face. 

 

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