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…)
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:
LogBlueprintUserMessages:
[GetMeshComponent_BP_56]
ENV_Field_Tree_Med_A
LogBlueprintUserMessages:
[GetMeshComponent_BP_56]
ENV_Field_Tree_Med_B
LogBlueprintUserMessages:
[GetMeshComponent_BP_56]
ENV_Field_Tree_Med_B
Good luck!
