panda3d.core.VirtualFileSimple

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

getMount() → VirtualFileMount

Returns the VirtualFileMount this file is associated with.

Return type

VirtualFileMount

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.

static getClassType() → TypeHandle
Return type

TypeHandle