Navigation
API > API/Plugins > API/Plugins/DisplayClusterScenePreview > API/Plugins/DisplayClusterScenePreview/FDisplayClusterLightCardEditorHe-
References
| Module | DisplayClusterScenePreview |
| Header | /Engine/Plugins/Runtime/nDisplay/Source/DisplayClusterScenePreview/Public/DisplayClusterLightCardEditorHelper.h |
| Include | #include "DisplayClusterLightCardEditorHelper.h" |
| Source | /Engine/Plugins/Runtime/nDisplay/Source/DisplayClusterScenePreview/Private/DisplayClusterLightCardEditorHelper.cpp |
bool CalculateNormalAndPositionInDirection
&40;
const FVector & InViewOrigin,
const FVector & InDirection,
FVector & OutWorldPosition,
FVector & OutRelativeNormal,
double InDesiredDistanceFromFlush
&41;
Remarks
Calculates the relative normal vector and world position in the specified direction from the given view origin. true if the position was found, or false if the normal maps need to be updated first.
Parameters
| Name | Description |
|---|---|
| InViewOrigin | The origin point of the view. |
| InDirection | The direction in which check the normal. |
| OutWorldPosition | The world-space coordinates of the calculated position. |
| OutRelativeNormal | The normal vector at the calculated position. |
| InDesiredDistanceFromFlush | The desired flush distance from the initial calculated position. |