Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/APlayerController
Description
Builds a list of components that are hidden based upon gameplay. This calls both UpdateHiddenActors and UpdateHiddenComponents, merging the two lists.
| Name | BuildHiddenComponentList |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h |
| Include Path | #include "GameFramework/PlayerController.h" |
void BuildHiddenComponentList
(
const FVector & ViewLocation,
TSet < FPrimitiveComponentId > & HiddenComponentsOut
)
Parameters
| Name | Remarks |
|---|---|
| ViewLocation | the view point to hide/unhide from |
| HiddenComponents | this list will have all components that should be hidden added to it |