chore: get/set
This commit is contained in:
parent
6bdbe70fec
commit
05f553796f
|
@ -72,6 +72,22 @@ export default class Renderable extends decorate(Class) {
|
|||
};
|
||||
}
|
||||
|
||||
get scaleX() {
|
||||
return this.internal.scale.x;
|
||||
}
|
||||
|
||||
set scaleX(x) {
|
||||
this.internal.scale.x = x;
|
||||
}
|
||||
|
||||
get scaleY() {
|
||||
return this.internal.scale.y;
|
||||
}
|
||||
|
||||
set scaleY(y) {
|
||||
this.internal.scale.y = y;
|
||||
}
|
||||
|
||||
get visible() {
|
||||
return this.internal.visible;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user