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 getGlobalPtr() LoaderFileTypeRegistry
Returns a pointer to the global
LoaderFileTypeRegistry
object.
- getType(n: int) LoaderFileType
Returns the nth type registered.
- getTypeFromExtension(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.