How to get a static mesh property from aclass?
I created a blueprint for a C++ actor class called Base. I need to get the blueprint class' static mesh property (that is declared on the Base class). Can anyone please help me with it? The Get Class Defaults function doesn't show static meshes (only strings, etc..)
asked Apr 09 '16 at 08:22 PM in Blueprint Scripting
It is important what you created your class template is. When you create your class you should of used a Actor or pawn template. At the top left in the class there should be something that looks like a person click on this and in the details panel you will want to look for static mesh then add your static mesh from there.
answered Apr 09 '16 at 11:30 PM
Maybe this will help:
In the image, we get the objects of a specific class, we then iterate through them getting the components of a specific class (in this case StaticMesh) we then iterate through those and print their display name.
Results for this test were:
answered Apr 10 '16 at 12:11 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here