Navigation
API > API/Plugins > API/Plugins/DisplayClusterScenePreview > API/Plugins/DisplayClusterScenePreview/IDisplayClusterScenePreview
References
| Module | DisplayClusterScenePreview |
| Header | /Engine/Plugins/Runtime/nDisplay/Source/DisplayClusterScenePreview/Public/IDisplayClusterScenePreview.h |
| Include | #include "IDisplayClusterScenePreview.h" |
bool SetRendererRootActor
&40;
int32 RendererId,
ADisplayClusterRootActor &42; Actor,
bool bAutoUpdateLightcards
&41;
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. |
| bAutoUpdateLightcards | If true, the renderer scene will also be automatically populated with the actor's associated lightcards, including future changes to them. |