Widgets in editor details panel with C++ only and no blueprints?

Is there a way to set up buttons or text entry in an actor’s editor detail panel without making the actor a blueprint actor or using any blueprints? Any good example? Just need some simple buttons and some text entry … :face_with_monocle:

1 Like

How exactly do you propose to utilize a details panel of a class that doesn’t exist?

Not sure what you mean. It is a standard UActor with mesh components. It exists. :grinning:

But you said you wanted

an actor’s editor detail panel without making the actor a blueprint actor

Yeah using pure C++ actors here. Not blueprint actors.

All UPROPERTY() of C++ actors show up in details panel.

Just wondering how to get buttons on there in C++.

1 Like

Are you thinking of the buttons that run editor functions?

If so, you’ll want UFUNCTION(CallInEditor)

1 Like

Yep that worked thanks. :+1:

I had just found this old thread as well:

How to add button to blueprint details panel? - Development Discussion / Blueprint Visual Scripting - Unreal Engine Forums

1 Like