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 finish execution. This function has to be only called once.
- get_job_status(job) str ¶
Retrieves the rendering status of the given render grid job.
- 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
- 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: