Is it possible to have a generic type for a mesh instead of having to choose a skeletal vs static mesh?
Here is my use case: I want to create a generic plant class which will have various sub-classes. Many of the sub-classes will use a static mesh. Maybe a few (e.b., a venus flytrap) will use skeletal meshes since they will move. Is there a way I can create a mesh variable which I can pass around through functions without deciding on whether it is a skeletal mesh or static mesh until later (i.e., until the sub-class instead of the parent class)?
To say it another way, is there a type I can pass around and then cast to static or skeletal mesh later? I guess I could use Actor but that seems like too much of a hack.
Thanks,
-X