from panda3d.core import ModelLoadRequest
A class object that manages a single asynchronous model load request. Create a new ModelLoadRequest, and add it to the loader via load_async(), to begin an asynchronous load.
__init__(name: str, filename: Filename, options: LoaderOptions, loader: Loader)
Create a new
ModelLoadRequest, and add it to the loader via load_async(), to begin an asynchronous load.
Returns the filename associated with this asynchronous
getModel() → PandaNode¶
Returns the model that was loaded asynchronously, if any, or null if there was an error. It is an error to call this unless done() returns true.
Deprecated: Use result() instead.
getOptions() → LoaderOptions¶
isReady() → bool¶
Returns true if this request has completed, false if it is still pending or if it has been cancelled. When this returns true, you may retrieve the model loaded by calling
getModel(). Equivalent to
req.done() and not req.cancelled().
Returns the Loader object associated with this asynchronous