from panda3d.core import VirtualFileSimple
class VirtualFileSimple

Bases: VirtualFile

A simple file or directory within the VirtualFileSystem: this maps to exactly one file on one mount point. Most directories, and all regular files, are of this kind.

Inheritance diagram

Inheritance diagram of VirtualFileSimple

static getClassType() → TypeHandle
Return type


getMount() → VirtualFileMount

Returns the VirtualFileMount this file is associated with.

Return type


isImplicitPzFile() → bool

Returns true if this file is a .pz file that should be implicitly decompressed on load, or false if it is not a .pz file or if it should not be decompressed.