def set_default_material(self, material: MeshMaterial):
        """Sets the material of the mesh.

        Args:
            material (MeshMaterial): the material to set as the default
        """
        if isinstance(material, dict):
            material = MeshMaterial._from_dict(material)

        self.default_material = material
Sets the material of the mesh.

        Args:
            material (MeshMaterial): the material to set as the default
        
fiftyone/core/threed/mesh.py