how to pass dynamic class to generic function

i want to create a base actor class, which can manage static and skeletal Mesh in one single property. this will help simply the code somehow. but after doing a lot lot search, i think this may not be possible, sad. thank u anyway.