Function re_components::data_cell_from_mesh_file_path
source · pub fn data_cell_from_mesh_file_path(
file_path: &Path,
format: MeshFormat
) -> Result<DataCell, FromFileError>
Expand description
Read the mesh file at the given path.
Supported file extensions are:
glb
,gltf
,obj
: encoded meshes, leaving it to the viewer to decode
All other extensions will return an error.