Navigation
API > API/Plugins > API/Plugins/DisplayClusterLightCardEditorSha-
References
| Module | DisplayClusterLightCardEditorShaders |
| Header | /Engine/Plugins/Runtime/nDisplay/Source/DisplayClusterLightCardEditorShaders/Public/DisplayClusterMeshProjectionRenderer.h |
| Include | #include "DisplayClusterMeshProjectionRenderer.h" |
Syntax
class FDisplayClusterMeshProjectionRenderer
Remarks
A renderer that projects meshes to screen space using non-linear projection methods
Variables
| Type | Name | Description | |
|---|---|---|---|
| FSelection | ActorSelectedDelegate | ||
| FSimpleElementPass | RenderSimpleElementsDelegate |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Clean up any references to the renderer. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Adds an actor's primitive components to the list of primitives to render | ||
| void | AddActor
(
AActor* Actor, |
Adds an actor's primitive components to the list of primitives to render, filtering which primitive components get rendered using the specified callback | |
| void | ClearScene () |
Clears the list of primitives to render | |
| FVector | ProjectViewPosition
(
const FVector& ViewPosition, |
Projects a position in view coordinates into the projected view space of the specified projection type | |
| void | RemoveActor
(
AActor* Actor |
Removes an actor's primitive components from the list of primitives to render | |
| void | Render
(
FCanvas* Canvas, |
Renders its list of primitive components to the specified canvas using the desired projection type. | |
| FVector | UnprojectViewPosition
(
const FVector& ProjectedViewPosition, |
Projects a position in the projected view space of the specified projection type to ordinary view coordinates |
Typedefs
| Name | Description |
|---|---|
| FSelection | Delegate to determine if an actor should be rendered as selected |
| FSimpleElementPass | Delegate raised during a render pass allowing simple elements ro be rendered to the viewport after meshes are projected to it |