AnimateVerticesRequest
-
class AnimateVerticesRequest
Bases:
AsyncTask
This class object manages a single asynchronous request to animate vertices on a
GeomVertexData
object. animate_vertices will be called with force=true (i.e. blocking) in a sub-thread (if threading is available). No result is stored or returned from this object. It is expected that the result will be cached and available for immediate use later during rendering. Thus it is important that the main thread block while these requests are being run (presumably on multiple CPUs/cores), to ensure that the data has been computed by the time it’s needed.Inheritance diagram
-
explicit AnimateVerticesRequest(GeomVertexData *geom_vertex_data)
-
AnimateVerticesRequest(AnimateVerticesRequest const&) = default
Create a new
AnimateVerticesRequest
.
-
static TypeHandle get_class_type(void)
-
bool is_ready(void) const
Returns true if this request has completed, false if it is still pending. Equivalent to
req.done() and not req.cancelled()
.See
AsyncFuture::done()
.
-
explicit AnimateVerticesRequest(GeomVertexData *geom_vertex_data)