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