Exposing Variables in Editor by Class

In the AI perception component, there is such a thing like the image below. Where in you select a class and then this class’s variables are then shown.

img.png

How do you expose a class’s variables by only selecting the class in the Editor? I know I can see the variables if I spawn an actor with such a class, but what if I didn’t want to spawn it and mainly just want to do something similar to the above image?