Navigation
API > API/Plugins > API/Plugins/DisplayCluster > API/Plugins/DisplayCluster/Render > API/Plugins/DisplayCluster/Render/Viewport > API/Plugins/DisplayCluster/Render/Viewport/Misc
References
| Module | DisplayCluster |
| Header | /Engine/Plugins/Runtime/nDisplay/Source/DisplayCluster/Public/Render/Viewport/Misc/DisplayClusterViewportHelpers.h |
| Include | #include "Render/Viewport/Misc/DisplayClusterViewportHelpers.h" |
namespace UE
{
namespace DisplayClusterViewportHelpers
{
template<class TComp>
const TComp & UE::DisplayClusterViewportHelpers::GetMatchingComponentFromRootActor
(
const IDisplayClusterViewportConfiguration & InConfiguration,
const EDisplayClusterRootActorType InRootActorType,
const TComp & InComponent
)
}
}
Remarks
Return the same component (by class and name) from a DCRA of the specified type. If no other component exists, or if the current DCRA type matches the requested one, the input component is returned. A component with the same name and class belonging to a DCRA of this type.
Parameters
| Name | Description |
|---|---|
| InRootActorType | the search is performed within the DCRA of the given type. |
| InComponent | The component that is used for the search. |