ModelFlattenRequest
from panda3d.core import ModelFlattenRequest
- class ModelFlattenRequest
Bases:
Bases:
AsyncTask
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.
Inheritance diagram
- __init__(param0: ModelFlattenRequest)
- __init__(orig: PandaNode)
Create a new
ModelFlattenRequest
, and add it to the loader via load_async(), to begin an asynchronous load.
- static getClassType() TypeHandle
- getModel() PandaNode
Returns the flattened copy of the model. It is an error to call this unless
done()
returns true.Deprecated: Use
result()
instead.