Download

Constants for blueprint variables

I want to be able to set a blueprint variable to a fixed constant and be sure that it will never change during runtime. There should be a checkbox on the variable properties which says “constant”, which means that its value can only be changed within the blueprint properties or its default value. When you pull out a constant variable, the only accessor is a “get”, so you don’t have to ctrl+click & drag or drag out and select between get/set. To make it even more clear that a variable node is a constant, perhaps the node container can have a slightly different visual appearance, such as being squared instead of rounded corners.