Navigation
API > API/Plugins > API/Plugins/RenderGrid
This class represents a render grid, which is basically just a collection of render grid jobs. A render grid is the asset that is shown in the content browser, it's the asset that can be opened and edited using the editor.
| Name | URenderGrid |
| Type | class |
| Header File | /Engine/Plugins/Experimental/RenderGrid/Source/RenderGrid/Public/RenderGrid/RenderGrid.h |
| Include Path | #include "RenderGrid/RenderGrid.h" |
Syntax
UCLASS (Blueprintable, BlueprintType, EditInlineNew, Meta=(DontUseGenericSpawnObject="true"))
class URenderGrid : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → URenderGrid
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
URenderGrid() |
RenderGrid/RenderGrid.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FRenderGridRunRenderJobsCallback | TBaseDelegate_TwoParams< URenderGridQueue *, URenderGrid *, TArray< URenderGridJob * > > | RenderGrid/RenderGrid.h | |
| FRenderGridRunRenderJobsDefaultObjectCallback | TBaseDelegate_TwoParams< URenderGridQueue *, URenderGrid *, TArray< URenderGridJob * > > | RenderGrid/RenderGrid.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bExecutingBlueprintEvent | bool | True when it's currently executing a blueprint event, false otherwise. | RenderGrid/RenderGrid.h |
|
| CachedWorldWeakPtr | TWeakObjectPtr< UWorld > | GetWorld calls can be expensive, we speed them up by caching the last found world until it goes away. | RenderGrid/RenderGrid.h | |
| Defaults | TObjectPtr< URenderGridDefaults > | The default values for new jobs. | RenderGrid/RenderGrid.h |
|
| Guid | FGuid | The unique ID of this render grid. | RenderGrid/RenderGrid.h | |
| RenderGridJobs | TArray< TObjectPtr< URenderGridJob > > | The jobs of this render grid. | RenderGrid/RenderGrid.h |
|
| Settings | TObjectPtr< URenderGridSettings > | The settings of this render grid. | RenderGrid/RenderGrid.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddRenderGridJob
(
URenderGridJob* Job |
RenderGrid/RenderGrid.h |
|
|
virtual void BeginBatchRender
(
URenderGridQueue* Queue |
Overridable native event for when batch rendering begins. | RenderGrid/RenderGrid.h | |
virtual void BeginEditor () |
Overridable native event for when this asset is opened in the editor. | RenderGrid/RenderGrid.h | |
virtual void BeginJobRender
(
URenderGridQueue* Queue, |
Overridable native event for when job rendering begins. | RenderGrid/RenderGrid.h | |
virtual void BeginViewportRender
(
URenderGridJob* Job |
Overridable native event for when job rendering for the viewport viewer-mode begins. | RenderGrid/RenderGrid.h | |
void ClearRenderGridJobs() |
RenderGrid/RenderGrid.h |
|
|
void CopyAllProperties
(
URenderGrid* From |
Copy all properties from the given RenderGrid to self. | RenderGrid/RenderGrid.h | |
void CopyAllPropertiesExceptJobs
(
URenderGrid* From |
Copy all properties except jobs from the given RenderGrid to self. | RenderGrid/RenderGrid.h | |
void CopyAllUserVariables
(
URenderGrid* From |
Copy all user variables (configured in the blueprint graph) from the given RenderGrid to self. | RenderGrid/RenderGrid.h | |
void CopyJobs
(
URenderGrid* From |
Copy jobs from the given RenderGrid to self. | RenderGrid/RenderGrid.h | |
URenderGridJob * CreateAndAddNewRenderGridJob() |
Creates a new job and adds it to this grid. | RenderGrid/RenderGrid.h |
|
URenderGridJob * CreateTempRenderGridJob() |
Creates a new job. This job won't be added to the grid, so it will eventually be garbage collected. | RenderGrid/RenderGrid.h |
|
bool DoesJobIdExist
(
const FString& JobId |
Finds whether given job ID already exists in this grid. | RenderGrid/RenderGrid.h |
|
URenderGridJob * DuplicateAndAddRenderGridJob
(
URenderGridJob* Job |
Copy the given job in this grid. | RenderGrid/RenderGrid.h |
|
virtual void EndBatchRender
(
URenderGridQueue* Queue |
Overridable native event for when batch rendering ends. | RenderGrid/RenderGrid.h | |
virtual void EndEditor () |
Overridable native event for when this asset is closed in the editor. | RenderGrid/RenderGrid.h | |
virtual void EndJobRender
(
URenderGridQueue* Queue, |
Overridable native event for when job rendering ends. | RenderGrid/RenderGrid.h | |
virtual void EndViewportRender
(
URenderGridJob* Job |
Overridable native event for when job rendering for the viewport viewer-mode ends. | RenderGrid/RenderGrid.h | |
void GenerateNewGuid() |
Randomly generates a new GUID. | RenderGrid/RenderGrid.h |
|
FString GenerateNextJobId() |
Generates a unique job ID by finding the currently highest job ID and increasing it by one. | RenderGrid/RenderGrid.h |
|
FString GenerateUniqueRandomJobId() |
Generates a unique job ID by grabbing the current time, as well as 16 random bytes, and converting that to a base64 string. | RenderGrid/RenderGrid.h |
|
ULevelSequence * GetDefaultLevelSequence() |
RenderGrid/RenderGrid.h |
|
|
FString GetDefaultOutputDirectory() |
RenderGrid/RenderGrid.h |
|
|
FString GetDefaultOutputDirectoryForDisplay() |
RenderGrid/RenderGrid.h |
|
|
FString GetDefaultOutputDirectoryRaw() |
RenderGrid/RenderGrid.h |
|
|
UMoviePipelinePrimaryConfig * GetDefaultRenderPreset() |
RenderGrid/RenderGrid.h |
|
|
UMoviePipelineOutputSetting * GetDefaultRenderPresetOutputSettings() |
RenderGrid/RenderGrid.h |
|
|
URenderGridDefaults * GetDefaultsObject() |
RenderGrid/RenderGrid.h | ||
TArray< URenderGridJob * > GetDisabledRenderGridJobs() |
RenderGrid/RenderGrid.h |
|
|
TArray< URenderGridJob * > GetEnabledRenderGridJobs() |
RenderGrid/RenderGrid.h |
|
|
FGuid GetGuid() |
Returns the GUID, which is randomly generated at creation. | RenderGrid/RenderGrid.h |
|
int32 GetIndexOfRenderGridJob
(
URenderGridJob* Job |
RenderGrid/RenderGrid.h |
|
|
TSoftObjectPtr< UWorld > GetLevel() |
RenderGrid/RenderGrid.h |
|
|
| RenderGrid/RenderGrid.h |
|
||
Type * GetPropsSource () |
RenderGrid/RenderGrid.h | ||
UObject * GetPropsSourceOrigin() |
RenderGrid/RenderGrid.h |
|
|
ERenderGridPropsSourceType GetPropsSourceType() |
RenderGrid/RenderGrid.h |
|
|
TArray< URenderGridJob * > GetRenderGridJobs() |
RenderGrid/RenderGrid.h |
|
|
TArray< TObjectPtr< URenderGridJob > > & GetRenderGridJobsRef() |
RenderGrid/RenderGrid.h | ||
URenderGridSettings * GetSettingsObject() |
RenderGrid/RenderGrid.h | ||
virtual UWorld * GetWorld() |
RenderGrid/RenderGrid.h | ||
bool HasAnyRenderGridJobs() |
RenderGrid/RenderGrid.h |
|
|
bool HasRenderGridJob
(
URenderGridJob* Job |
RenderGrid/RenderGrid.h |
|
|
void InsertRenderGridJob
(
URenderGridJob* Job, |
RenderGrid/RenderGrid.h |
|
|
void InsertRenderGridJobAfter
(
URenderGridJob* Job, |
RenderGrid/RenderGrid.h |
|
|
void InsertRenderGridJobBefore
(
URenderGridJob* Job, |
RenderGrid/RenderGrid.h |
|
|
bool IsCurrentlyExecutingUserCode() |
Returns true when it's currently executing a blueprint implementable event, returns false otherwise. | RenderGrid/RenderGrid.h | |
void RemoveRenderGridJob
(
URenderGridJob* Job |
RenderGrid/RenderGrid.h |
|
|
URenderGridQueue * Render() |
Renders all the enabled jobs of this render grid. | RenderGrid/RenderGrid.h |
|
URenderGridQueue * RenderJob
(
URenderGridJob* Job |
Renders the given job of this render grid. | RenderGrid/RenderGrid.h |
|
URenderGridQueue * RenderJobs
(
const TArray< URenderGridJob* >& Jobs |
Renders all the given jobs of this render grid. | RenderGrid/RenderGrid.h |
|
URenderGridQueue * RenderJobSingleFrame
(
URenderGridJob* Job, |
Renders the given job of this render grid. Only renders a single frame. | RenderGrid/RenderGrid.h |
|
URenderGridQueue * RenderJobSingleFramePosition
(
URenderGridJob* Job, |
Renders the given job of this render grid. | RenderGrid/RenderGrid.h |
|
URenderGridQueue * RenderJobsSingleFrame
(
const TArray< URenderGridJob* >& Jobs, |
Renders all the given jobs of this render grid. Only renders a single frame of each job. | RenderGrid/RenderGrid.h |
|
URenderGridQueue * RenderJobsSingleFramePosition
(
const TArray< URenderGridJob* >& Jobs, |
Renders all the given jobs of this render grid. | RenderGrid/RenderGrid.h |
|
URenderGridQueue * RenderSingleFrame
(
const int32 Frame |
Renders all the enabled jobs of this render grid. Only renders a single frame of each job. | RenderGrid/RenderGrid.h |
|
URenderGridQueue * RenderSingleFramePosition
(
const double FramePosition |
Renders all the enabled jobs of this render grid. | RenderGrid/RenderGrid.h |
|
bool ReorderRenderGridJob
(
URenderGridJob* Job, |
Relocates the given job in this grid to the position of the given dropped-on job. | RenderGrid/RenderGrid.h |
|
void SetDefaultLevelSequence
(
ULevelSequence* NewSequence |
RenderGrid/RenderGrid.h |
|
|
void SetDefaultOutputDirectory
(
const FString& NewOutputDirectory |
RenderGrid/RenderGrid.h |
|
|
void SetDefaultOutputDirectoryRaw
(
const FString& NewOutputDirectory |
RenderGrid/RenderGrid.h |
|
|
void SetDefaultRenderPreset
(
UMoviePipelinePrimaryConfig* NewRenderPreset |
RenderGrid/RenderGrid.h |
|
|
void SetPropsSource
(
ERenderGridPropsSourceType InPropsSourceType, |
RenderGrid/RenderGrid.h |
|
|
void SetRenderGridJobs
(
const TArray< URenderGridJob* >& Jobs |
RenderGrid/RenderGrid.h |
|
|
virtual void Tick
(
float DeltaTime |
Overridable native event for when this asset is ticked by the editor. | RenderGrid/RenderGrid.h | |
TSharedPtr< FJsonValue > ToDebugJson () |
Obtains a JSON representation of this object. | RenderGrid/RenderGrid.h | |
FString ToDebugString () |
Obtains a string representation of this object. | RenderGrid/RenderGrid.h |
|
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostLoad() |
RenderGrid/RenderGrid.h | ||
virtual void PreSave
(
FObjectPreSaveContext SaveContext |
RenderGrid/RenderGrid.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ReceiveBeginBatchRender
(
URenderGridQueue* Queue |
Event for when batch rendering begins. | RenderGrid/RenderGrid.h |
|
void ReceiveBeginEditor () |
Event for when this asset is opened in the editor. | RenderGrid/RenderGrid.h |
|
void ReceiveBeginJobRender
(
URenderGridQueue* Queue, |
Event for when job rendering begins. | RenderGrid/RenderGrid.h |
|
void ReceiveBeginViewportRender
(
URenderGridJob* Job |
Event for when job rendering for the viewport viewer-mode begins. | RenderGrid/RenderGrid.h |
|
void ReceiveEndBatchRender
(
URenderGridQueue* Queue |
Event for when batch rendering ends. | RenderGrid/RenderGrid.h |
|
void ReceiveEndEditor () |
Event for when this asset is closed in the editor. | RenderGrid/RenderGrid.h |
|
void ReceiveEndJobRender
(
URenderGridQueue* Queue, |
Event for when job rendering ends. | RenderGrid/RenderGrid.h |
|
void ReceiveEndViewportRender
(
URenderGridJob* Job |
Event for when job rendering for the viewport viewer-mode ends. | RenderGrid/RenderGrid.h |
|
void ReceiveTick
(
float DeltaTime |
The tick event, will only execute when the asset is open in the editor. | RenderGrid/RenderGrid.h |
|
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TArray< FString > GetBlueprintImplementableEvents() |
RenderGrid/RenderGrid.h |