This class object manages a single asynchronous request to flatten a model. The model will be duplicated and flattened in a sub-thread (if threading is available), without affecting the original model; and when the result is done it may be retrieved from this object.
explicit ModelFlattenRequest(PandaNode *orig)
Create a new
ModelFlattenRequest, and add it to the loader via load_async(), to begin an asynchronous load.
PandaNode *get_model(void) const
Returns the flattened copy of the model. It is an error to call this unless
- explicit ModelFlattenRequest(PandaNode *orig)