How to modify SUICircularProgressBar mask smoothing by script using Java
In your Java class, do the following:
public class YourClass extends Component {
// to control smoothing
public float smooth = 50f; // change by properties
// creates a new SUICircularMask, @AutoWired selects the component from this object
@AutoWired
private SUICircularMask mask;
@Override
public void start() {
}
@Override
public void repeat() {
// sets the smoothing of the SUICircularMask of the SUICircularProgressBar
mask.setSmooth(smooth);
}
}