UGeometryCollectionBlueprintLibrary::SetCustomDepthStencil

Specify custom depth and a value to write during the custom depth pass for all instances associated with a geometry collection.