LoaderFileType
from panda3d.core import LoaderFileType
- class LoaderFileType
Bases:
Bases:
TypedObject
This is the base class for a family of scene-graph file types that the Loader supports. Each kind of loader that’s available should define a corresponding LoaderFileType object and register itself.
Inheritance diagram
- getAdditionalExtensions() str
Returns a space-separated list of extension, in addition to the one returned by
getExtension()
, that are recognized by this loader.
- getAllowDiskCache(options: LoaderOptions) bool
Returns true if the loader flags allow retrieving the model from the on- disk bam cache (if it is enabled), false otherwise.
- getAllowRamCache(options: LoaderOptions) bool
Returns true if the loader flags allow retrieving the model from the in- memory
ModelPool
cache, false otherwise.
- static getClassType() TypeHandle
- supportsCompressed() bool
Returns true if this file type can transparently load compressed files (with a .pz or .gz extension), false otherwise.