Most likely because those parameters are declered as parent class pointers like UPrimitveComponent or AActor so it can give you any actor and any primitve component pointer. If you want to use function of some child class you will need to cast. You can detect what actor or component you dealing with thanks by function IsA ()