setNeedsRefresh(true);
    public void setReference(float reference) {        if(reference < 0) {            reference = 0;        }        if(reference > 1) {            reference = 1;        }        this.reference = reference;    }