Download

Arrays of Components in Data blueprint

I have the following class which contains two hard references to two camera components. I would however like to make this an array and have as many camera objects as possible connected to my player. Here you can see that there are two unique camera objects hard referenced. Below is what happens when I try to create an array of camera components.

I added an array of components editable via blueprint. I click “+” to create two objects in my array, but they have no FOV etc dropdowns to edit the cameras. Likewise if I create a TestCamera blueprint based off of UCameraComponent, I can’t drag that and put it into the array either. Is this really not possible to do? This seems very unintuitive to me, but I’m also new with Unreal.

Thanks.

https://forums.unrealengine.com/filedata/fetch?filedataid=122654&type=thumb

https://forums.unrealengine.com/filedata/fetch?filedataid=122655&type=thumb

https://forums.unrealengine.com/filedata/fetch?filedataid=122656&type=thumb