API Reference > imodeljs-common > Serialization > EGFBAccessors > EGFBAccessors.Material > getSizePrefixedRootAsMaterial getSizePrefixedRootAsMaterial MethodStatic getSizePrefixedRootAsMaterial(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 2320 Last Updated: 11 June, 2024