How to modify the rotation of the SUICircularProgressBar mask
In your Java class, do the following:
public class YourClass extends Component {
// to control the rotation value
public float rotation = 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 rotation of the SUICircularMask of the SUICicularProgressBar
mask.setRotation(rotation);
}
}