38 AsyncTask::DoneStatus ModelLoadRequest::
40 double delay = async_load_delay;
45 PT(
PandaNode) model = _loader->load_sync(_filename, _options);
A basic node of the scene graph or data graph.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
ModelLoadRequest(const std::string &name, const Filename &filename, const LoaderOptions &options, Loader *loader)
Create a new ModelLoadRequest, and add it to the loader via load_async(), to begin an asynchronous lo...
Specifies parameters that may be passed to the loader.
A convenient class for loading models from disk, in bam or egg format (or any of a number of other fo...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
The name of a file, such as a texture file or an Egg file.
void set_result(std::nullptr_t)
Sets this future's result.
static void sleep(double seconds)
Suspends the current thread for at least the indicated amount of time.
This class represents a concrete task performed by an AsyncManager.
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.