ModelSaveRequest
from panda3d.core import ModelSaveRequest
- class ModelSaveRequest
Bases:
AsyncTask
A class object that manages a single asynchronous model save request. Create a new ModelSaveRequest, and add it to the loader via save_async(), to begin an asynchronous save.
Inheritance diagram
- __init__(*args, **kwargs)
- filename
- getClassType()
C++ Interface: get_class_type()
- getFilename()
C++ Interface: get_filename(ModelSaveRequest self)
- /**
Returns the filename associated with this asynchronous ModelSaveRequest.
*/
- getLoader()
C++ Interface: get_loader(ModelSaveRequest self)
- /**
Returns the Loader object associated with this asynchronous
ModelSaveRequest.
*/
- getNode()
C++ Interface: get_node(ModelSaveRequest self)
- /**
Returns the node that was passed to the constructor.
*/
- getOptions()
C++ Interface: get_options(ModelSaveRequest self)
- /**
Returns the LoaderOptions associated with this asynchronous
ModelSaveRequest.
*/
- getSuccess()
C++ Interface: get_success(ModelSaveRequest self)
- /**
Returns the true if the model was saved successfully, false otherwise. It
is an error to call this unless done() returns true.
*/
- get_class_type()
C++ Interface: get_class_type()
- get_filename()
C++ Interface: get_filename(ModelSaveRequest self)
- /**
Returns the filename associated with this asynchronous ModelSaveRequest.
*/
- get_loader()
C++ Interface: get_loader(ModelSaveRequest self)
- /**
Returns the Loader object associated with this asynchronous
ModelSaveRequest.
*/
- get_node()
C++ Interface: get_node(ModelSaveRequest self)
- /**
Returns the node that was passed to the constructor.
*/
- get_options()
C++ Interface: get_options(ModelSaveRequest self)
- /**
Returns the LoaderOptions associated with this asynchronous
ModelSaveRequest.
*/
- get_success()
C++ Interface: get_success(ModelSaveRequest self)
- /**
Returns the true if the model was saved successfully, false otherwise. It
is an error to call this unless done() returns true.
*/
- isReady()
C++ Interface: is_ready(ModelSaveRequest self)
- /**
Returns true if this request has completed, false if it is still pending.
When this returns true, you may retrieve the success flag with
get_success().
Equivalent to req.done() and not req.cancelled().
@see done()
*/
- is_ready()
C++ Interface: is_ready(ModelSaveRequest self)
- /**
Returns true if this request has completed, false if it is still pending.
When this returns true, you may retrieve the success flag with
get_success().
Equivalent to req.done() and not req.cancelled().
@see done()
*/
- loader
- node
- options