API Reference > imodeljs-common > Serialization > EGFBAccessors > EGFBAccessors.Material > getRootAsMaterial getRootAsMaterial MethodStatic getRootAsMaterial(bb: ByteBuffer, obj?: EGFBAccessors.Material): EGFBAccessors.Material Parameter Type Description bb ByteBuffer obj EGFBAccessors.Material Returns - EGFBAccessors.Material Material Defined in core/common/src/geometry/ElementGeometryFB.ts Line 2311 Last Updated: 11 June, 2024