def _to_dict_extra(self):
        """Extra properties to include in dictionary representation."""
        r = {
            "centerGeometry": self.center_geometry,
            "pcdPath": self.pcd_path,
            "defaultMaterial": self.default_material.as_dict(),
            "flagForProjection": self.flag_for_projection,
        }

        if hasattr(self, "_pre_transformed_pcd_path"):
            r["preTransformedPcdPath"] = self._pre_transformed_pcd_path

        return r
Extra properties to include in dictionary representation.
fiftyone/core/threed/pointcloud.py