SceneCapture2d, Show Only Class ?

Oh i was not aware that i could set the show only actors from the Scenecapture2d component !

So if anyone have this issue in the future ;

  • at begin play, do a get all actors of class and set it to an array variable.
  • drag your scenecapture2d component in the Blueprint
  • from the pin of your scenecapturecomponent node, drag and search for : “show only” at the bottom of the list you’ll see a “Set Show Only Actors”

  • Now just plug your Stored array (the one containing your desired Class actors)
  • all that can run on Event BeginPlay

Now The SceneCapture2d will ignore everything exept actors of that specified class !

Thanks a lot for your help !