panda3d.core.VirtualFileList

from panda3d.core import VirtualFileList
class VirtualFileList

Bases: ReferenceCount

A list of VirtualFiles, as returned by VirtualFile.scanDirectory().

Inheritance diagram

Inheritance diagram of VirtualFileList

__init__(param0: VirtualFileList) → None
getNumFiles() → size_t

Returns the number of files in the list.

Return type

size_t

getFile(n: size_t) → VirtualFile

Returns the nth file in the list.

Return type

VirtualFile

size() → size_t

Returns the number of files in the list.

Return type

size_t

getFiles() → list