Navigation
API > API/Plugins > API/Plugins/DisplayCluster > API/Plugins/DisplayCluster/IDisplayClusterViewport
Description
Retrieves the view position from the ViewPoint component used by this viewport. The CalculateView() function receives arguments that may not match this position because they can be overridden. Therefore, projection policies that expect values from the ViewPoint component must use this function to get the correct values.
| Name | GetViewPointCameraEye |
| Type | function |
| Header File | /Engine/Plugins/Runtime/nDisplay/Source/DisplayCluster/Public/Render/Viewport/IDisplayClusterViewport.h |
| Include Path | #include "Render/Viewport/IDisplayClusterViewport.h" |
bool GetViewPointCameraEye
(
const uint32 InContextNum,
FVector & OutViewLocation,
FRotator & OutViewRotation,
FVector & OutViewOffset
)