direct.showbase.Loader

from direct.showbase.Loader import Loader

This module contains a high-level interface for loading models, textures, sound, music, shaders and fonts from disk.

Inheritance diagram

digraph inheritancecd5a225e16 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DirectObject" [URL="direct.showbase.DirectObject.html#direct.showbase.DirectObject.DirectObject",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="This is the class that all Direct/SAL classes should inherit from"]; "Loader" [URL="direct.showbase.Loader.html#direct.showbase.Loader.Loader",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="Load models, textures, sounds, and code."]; "DirectObject" -> "Loader" [arrowsize=0.75,style=""]; }
class Loader(base: ShowBase | None = None)[source]

Bases: DirectObject

Load models, textures, sounds, and code.

loaderIndex = 1
notify = <direct.directnotify.Notifier.Notifier object>