I would like a way to modify/update a StaticSwitchParameter programmatically in UnrealEditor. I have been building a plugin that works with a specific material and I provide various debug states that I control through a Slate-based editor only UI. I would like the ability to toggle the various StaticSwitchParameters for my material at any point while in the Editor. Additionally I would like to turn off all the StaticSwithParameters for packaging.
Any thoughts or ideas on how to do this?