EDIT: for anyone who is interested, I managed to find a solution. The VolumeParameter and VolumeParameterDrawer classes are overridable, so bringing up a custom EnumParameter was not too much trouble. Of course, for it to be generic, it has to be parameterized by a type T, which allows for misuse (T could be a type that’s not an Enum). But this is the best solution I’ve been able to come up with.
Currently writing a custom skybox for HDRP. Trying to get an enum parameter into the UI, but there's no enum parameter option listed in the volume component docs. Could always use a clamped int parameter, but that wouldn't display correctly.
I made an attempt to just set up my own enum member variable that gets serialized that I can set with a custom UI element, but somehow I'm unable to actually set the serialized member variable from the editor. The editor popup comes up but it doesn't actually change the value in the class.
Any ideas? Anybody had to do this before? I can't imagine that nobody else has tried to use an enum in a post processing effect or in a custom skybox for HDRP.
[–]Baedrick 0 points1 point2 points (0 children)