Navigation
API > API/Plugins > API/Plugins/DisplayClusterScenePreview > API/Plugins/DisplayClusterScenePreview/FDisplayClusterLightCardEditorHe-
Description
Traces the world geometry to find the best direction vector from the origin to a valid point in space using a screen ray. Requires valid normal maps.
| Name | TraceScreenRay |
| Type | function |
| Header File | /Engine/Plugins/Runtime/nDisplay/Source/DisplayClusterScenePreview/Public/DisplayClusterLightCardEditorHelper.h |
| Include Path | #include "DisplayClusterLightCardEditorHelper.h" |
| Source | /Engine/Plugins/Runtime/nDisplay/Source/DisplayClusterScenePreview/Private/DisplayClusterLightCardEditorHelper.cpp |
FVector TraceScreenRay
(
const FVector & RayOrigin,
const FVector & RayDirection,
const FVector & ViewOrigin
)