unreal.RenderGridQueue
¶
- class unreal.RenderGridQueue(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
Object
This class is responsible for rendering the given render grid jobs.
C++ Source:
Plugin: RenderGrid
Module: RenderGrid
File: RenderGridQueue.h
- add_job(job) None ¶
Queues the given job.
- Parameters:
job (RenderGridJob) –
- cancel() None ¶
Cancels the current and the remaining queued jobs. Relies on the internal movie pipeline implementation of job canceling on whether this will stop the current render grid job from rendering or not. Will always prevent new render grid jobs from rendering.
- classmethod close_editor_on_completion() None ¶
Call this function to make it so that the editor will be closed when all rendering queues have finished. This function has to only be called once.
- get_currently_rendering_job() RenderGridJob ¶
Retrieves the currently rendering render grid job, can return NULL.
- Return type:
- classmethod get_currently_rendering_queue() RenderGridQueue ¶
Returns the currently rendering queue, or NULL if there isn’t any currently rendering.
- Return type:
- get_job_status(job) str ¶
Retrieves the rendering status of the given render grid job. Will return an empty string if this job wasn’t found in this queue.
- Parameters:
job (RenderGridJob) –
- Return type:
- get_job_status_percentage(job) float ¶
Returns the percentage of the rendering status of the given render grid job. Will return 0 if this job wasn’t found in this queue.
- Parameters:
job (RenderGridJob) –
- Return type:
- get_jobs() Array[RenderGridJob] ¶
Returns all the jobs that have been and will be rendered.
- Return type:
- get_jobs_completed_count() int32 ¶
Returns the number of jobs that have finished rendering. Basically just returns [Get Jobs Count] minus [Get Jobs Remaining Count].
- Return type:
int32
- get_jobs_count() int32 ¶
Returns the number of jobs that have been and will be rendered.
- Return type:
int32
- get_jobs_remaining_count() int32 ¶
Returns the number of jobs that are still left to render, includes the job that is currently rendering.
- Return type:
int32
- classmethod get_remaining_rendering_queues_count() int32 ¶
Returns the number of rendering queues that are currently queued up. This also includes the currently rendering queue.
- Return type:
int32
- get_render_grid() RenderGrid ¶
Retrieves the rendering status of the given render grid job.
- Return type:
- get_status_percentage() float ¶
Returns the percentage of jobs finished, this includes the progression of the job that is currently rendering.
- Return type: