LoaderFileTypeRegistry
from panda3d.core import LoaderFileTypeRegistry
- class LoaderFileTypeRegistry
Bases:
This class maintains the set of all known
LoaderFileTypes
in the universe.Inheritance diagram
- __init__(param0: LoaderFileTypeRegistry)
- static get_global_ptr() LoaderFileTypeRegistry
Returns a pointer to the global
LoaderFileTypeRegistry
object.
- get_type(n: int) LoaderFileType
Returns the nth type registered.
- get_type_from_extension(extension: str) LoaderFileType
Determines the type of the file based on the indicated extension (without a leading dot). Returns NULL if the extension matches no known file types.
- property types Sequence[LoaderFileType]
Returns the nth type registered.