Download

Float Variable With Slider Range From C++

Hello,
I’m trying to design a procedural mesh component class in C++, with a floating point variable that is EditAnywhere, with a slider range specified so that the floating point variable is displayed with a textbox that includes the slider capabilities. Can someone point me to the documentation that shows how to do that in C++? I see how to set the slider values if the variable is defined inside the editor. Also, ideally it would be a double-precision variable, not a single-precision float…

Thanks!



UPROPERTY(EditAnywhere,Category = DefProps , meta=(UIMin = '0.0', UIMax = '1.0'))
float MyValue;