from panda3d.core import FileReference
class FileReference

Bases: TypedReferenceCount

Keeps a reference-counted pointer to a file on disk. As long as the FileReference is held, someone presumably has a use for this file.

Inheritance diagram

Inheritance diagram of FileReference

__init__(param0: FileReference) → None
__init__(filename: Filename) → None
static getClassType() → TypeHandle
Return type


getFilename() → Filename

Returns the filename of the reference.

Return type