When creating a large city, it is important to use world partition and Data Layers to manage the scale of the city for optimization purposes.
iPCC allows the assignment of Data Layers to all actors within a certain area.
To proceed, Locate the “PCC Layer Set” found in the “ProceduralCityCreator -> PCC_Interactive_Modules” folder.
– Place it in the level where you want to assign the Data layer.
– Scale it to cover the area you want.
– In the detail panel, go to “1- Layer Settings” and click on “Assign Layer Tag”.
Note: it will assign a layer tag to only actors that have collision active.
– Copy the “Layer Tag” value by right-clicking and selecting copy.
– In the content folder, create a folder where to store your data layers.
– Right-click in the new folder, go to miscellaneous, then select “Data Layer”
– Rename it with the value of “Layer Tag” you copied.
– At the top left, go to “Window”, “World Partition” then “Data Layer Outliner”.
– In the “Data Layer Outliner”, Right-click and “Create New Data Layer”, in the “Data Layer Asset”, set the data layer you created in the content browser there.
– Go to “ProceduralCityCreator -> PCC_Widget” folder and right-click to execute the “PCC_Main_Widget” and dock it somewhere.
– Use the yellow slider to select the widget labeled “Welcome to Data Layers Widget”.
– Click on the button “Click to Organize into “DataLayers” and voilà.
You can now unload/hide or load/show all actors within that data layer.
(Video)