mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
clarify comment
This commit is contained in:
parent
8e1e795cea
commit
e230108209
@ -82,14 +82,14 @@ class Loader(DirectObject):
|
|||||||
|
|
||||||
If callback is not None, then the model load will be performed
|
If callback is not None, then the model load will be performed
|
||||||
asynchronously. In this case, loadModel() will initiate a
|
asynchronously. In this case, loadModel() will initiate a
|
||||||
background load and return immediately, with no return value.
|
background load and return immediately. The return value will
|
||||||
At some later point, when the requested model(s) have finished
|
be an object that may later be passed to
|
||||||
|
loader.cancelRequest() to cancel the asynchronous request. At
|
||||||
|
some later point, when the requested model(s) have finished
|
||||||
loading, the callback function will be invoked with the n
|
loading, the callback function will be invoked with the n
|
||||||
loaded models passed as its parameter list. It is possible
|
loaded models passed as its parameter list. It is possible
|
||||||
that the callback will be invoked immediately, even before
|
that the callback will be invoked immediately, even before
|
||||||
loadModel() returns. In any case, the return value will be
|
loadModel() returns.
|
||||||
an object that may later be passed to loader.cancelRequest()
|
|
||||||
to cancel the asynchronous request.
|
|
||||||
|
|
||||||
True asynchronous model loading requires Panda to have been
|
True asynchronous model loading requires Panda to have been
|
||||||
compiled with threading support enabled (you can test
|
compiled with threading support enabled (you can test
|
||||||
|
Loading…
x
Reference in New Issue
Block a user