from direct.p3d.ScanDirectoryNode import ScanDirectoryNode

Deprecated since version 1.10.0: The p3d packaging system has been replaced with the new setuptools-based system. See the Distributing Panda3D Applications manual section.

Inheritance diagram

Inheritance diagram of direct.p3d.ScanDirectoryNode

class ScanDirectoryNode(pathname, ignoreUsageXml=False)[source]

Bases: object

This class is used to scan a list of files on disk.

__init__(self, pathname, ignoreUsageXml=False)[source]
extractSubdir(self, pathname)[source]

Finds the ScanDirectoryNode within this node that corresponds to the indicated full pathname. If it is found, removes it from its parent, and returns it. If it is not found, returns None.