How can I customize the details panel for a class?
According to this guide, the first thing I need to do is create a class that inherits from ILayoutDetails. Which does not exist anywhere in the code. There is no information on this class in the wiki, forums, or google search. It also says: "(more examples are located in DetailCustomizations.cpp)". This file exists nowhere in the entire solution.
Rama's Slate, Hello guide does explain how to get slate in-game, but setting slate widgets via BeginPlay() won't work for the editor, and setting slate widgets in a constructor crashes the engine.
My end goal here is to have a 2d matrix of boolean values that I can tick, with a scalable number of tickboxes in each dimension, and then set a property based on the selected tickboxes.
It's a makeshift bitmask, which I've implemented in C++ but it can currently only be set via a series of blueprint functions. I want to have some bitmask-setting functionality in the editor.
asked Oct 01 '15 at 11:10 PM in C++ Programming
It's called a Details Customization. You can find many examples in the code base by searching for *Customization.h
IDetailCustomization is the interface you need to implement. It has a single method CustomizeDetails that will pass you an IDetailLayoutBuilder. The latter has lots of helper methods for various kinds of things.
answered Oct 01 '15 at 11:14 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here