Navigation
API > API/Plugins > API/Plugins/DisplayCluster > API/Plugins/DisplayCluster/IDisplayClusterProjectionPolicy
Description
Returns Origin's location in geometry units.
The Origin component must be configured in UE units, but the calibration tools use their own units. Therefore, the user must perform calculations to correctly set the location of the Origin component within the UE. Typically, this approach leads to mistakes in the DCRA setup. To avoid this, the projection policy can receive the Origin Location parameter in geometric units. This function returns the value of this parameter.
| Name | GetOriginLocationOffsetInGeometryUnits |
| Type | function |
| Header File | /Engine/Plugins/Runtime/nDisplay/Source/DisplayCluster/Public/Render/Projection/IDisplayClusterProjectionPolicy.h |
| Include Path | #include "Render/Projection/IDisplayClusterProjectionPolicy.h" |
virtual FVector GetOriginLocationOffsetInGeometryUnits
(
const IDisplayClusterViewport * InViewport
) const
Parameters
| Name | Remarks |
|---|---|
| InViewport | (in) a owner viewport |