EggFilenameNode
from panda3d.egg import EggFilenameNode
- class EggFilenameNode
Bases:
EggNode
This is an egg node that contains a filename. It references a physical file relative to the directory the egg file was loaded in. It is a base class for EggTexture and EggExternalReference.
Inheritance diagram
- __init__(*args, **kwargs)
- getClassType()
C++ Interface: get_class_type()
- getDefaultExtension()
C++ Interface: get_default_extension(EggFilenameNode self)
- /**
Returns the default extension for this filename type.
*/
- getFilename()
C++ Interface: get_filename(EggFilenameNode self)
- /**
Returns a nonmodifiable reference to the filename.
*/
- getFullpath()
C++ Interface: get_fullpath(EggFilenameNode self)
- /**
Returns the full pathname to the file, if it is known; otherwise, returns
the same thing as get_filename().
This function simply returns whatever was set by the last call to
set_fullpath(). This string is not written to the egg file; its main
purpose is to record the full path to a filename (for instance, a texture
filename) if it is known, for egg structures that are generated in-memory
and then immediately converted to a scene graph.
*/
- get_class_type()
C++ Interface: get_class_type()
- get_default_extension()
C++ Interface: get_default_extension(EggFilenameNode self)
- /**
Returns the default extension for this filename type.
*/
- get_filename()
C++ Interface: get_filename(EggFilenameNode self)
- /**
Returns a nonmodifiable reference to the filename.
*/
- get_fullpath()
C++ Interface: get_fullpath(EggFilenameNode self)
- /**
Returns the full pathname to the file, if it is known; otherwise, returns
the same thing as get_filename().
This function simply returns whatever was set by the last call to
set_fullpath(). This string is not written to the egg file; its main
purpose is to record the full path to a filename (for instance, a texture
filename) if it is known, for egg structures that are generated in-memory
and then immediately converted to a scene graph.
*/
- setFilename()
C++ Interface: set_filename(const EggFilenameNode self, const Filename filename)
- /**
*/
- setFullpath()
C++ Interface: set_fullpath(const EggFilenameNode self, const Filename fullpath)
- /**
Records the full pathname to the file, for the benefit of get_fullpath().
*/