GLTFReader#

class GLTFReader(*args, **kwargs)[source]#

GLTFReader for .gltf and .glb files.

Wraps vtkGLTFReader.

Note

This reads the file’s mesh geometry only. Any plot-specific items such as colors or material properties are not read.

See Also#

pyvista.Plotter.import_gltf

Import a glTF file into a plotter.

Inheritance#

Inherited members are documented on BaseReader, _FileIOBase.

See them all under Inherited Attributes and Inherited Methods.

Inherited Attributes#

_FileIOBase.extension_patterns

Return mapping from regex pattern matching associated with this class.

_FileIOBase.extensions

Return the file extensions associated with this class.

BaseReader.path

Return or set the filename or directory of the reader.

BaseReader.reader

Return the vtk Reader object.

Inherited Methods#

BaseReader.hide_progress

Hide the progress bar when loading the file.

BaseReader.read

Read data in file.

BaseReader.show_progress

Show a progress bar when loading the file.