Navigation
API > API/Plugins > API/Plugins/DisplayClusterScenePreview > API/Plugins/DisplayClusterScenePreview/IDisplayClusterScenePreview > API/Plugins/DisplayClusterScenePreview/IDisplayClusterScenePreview/SetRendererRootA-_1
References
| Module | DisplayClusterScenePreview |
| Header | /Engine/Plugins/Runtime/nDisplay/Source/DisplayClusterScenePreview/Public/IDisplayClusterScenePreview.h |
| Include | #include "IDisplayClusterScenePreview.h" |
bool SetRendererRootActor
(
int32 RendererId,
ADisplayClusterRootActor * Actor,
const FDisplayClusterRootActorPropertyOverrides & InPropertyOverrides,
const EDisplayClusterScenePreviewFlags PreviewFlags
)
Remarks
Set the root DisplayCluster actor for the renderer with the given ID, which will be added to the preview scene and used to determine the render world. Note that if the actor is destroyed (including by a recompile, reload, etc.), you will need to call this again to update the actor. This will also clear the path set by SetRendererRootActorPath.
Parameters
| Name | Description |
|---|---|
| RendererId | The ID of the renderer as returned from CreateRenderer. |
| Actor | The actor to preview. |
| InPropertyOverrides | optional overrides for root actor |
| PreviewFlags | Special flags that control the behavior of the renderer. |