add setTreeOpacity