What does "generate const class"?

Simple question, searching for this keyword “const” give me many page about “construction” so i cant find information about this, what does the checkbox “generate const class” do in the class setting panel?

I’m also trying to figure out what this is. If you have found out, could you please explain or lead me to right direction? :slight_smile:

haha, i asked this the 27 october 2015 and i still dont know what it does :o

good luck for your search, take the direction you want :slight_smile:

I believe that in this context it is the same as declaring something “const” as in C and C++. I’m going to assume here, that it means the class have unchanging values. Perhaps this Wikipedia Article on the subject may help.

Const (Computer Programming)

What I understood from Const Functions in C++, if we check that box, we won’t be able to change any variables of the blueprint in realtime?! I’ll give it a try and reply back.


lol thanks :slight_smile:

All properties and functions in this class are const and should be exported as const. This flag is inherited by subclasses.

Unreal Engine 4.9 Documentation

1 Like