add model visibility and stock transparency toggles to cam animation bar

This commit is contained in:
Stewart Allen 2024-09-03 12:44:06 -04:00
commit 973ee98200
3 changed files with 47 additions and 23 deletions

View file

@ -371,6 +371,11 @@ class Widget {
}
}
toggleVisibility() {
const mat = this.getMaterial();
mat.visible = !mat.visible;
}
/**
* center geometry bottom (on platform) at 0,0,0
*/