API Reference > geometry-core > Serialization > BGFBAccessors > BGFBAccessors.VariantGeometry > getRootAsVariantGeometry getRootAsVariantGeometry MethodStatic getRootAsVariantGeometry(bb: ByteBuffer, obj?: BGFBAccessors.VariantGeometry): BGFBAccessors.VariantGeometry Parameter Type Description bb ByteBuffer obj BGFBAccessors.VariantGeometry Returns - BGFBAccessors.VariantGeometry VariantGeometry Defined in serialization/BGFBAccessors.ts Line 5993 Last Updated: 12 June, 2024