@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
17 lines (14 loc) • 386 B
text/typescript
export class AnimationUpdateCallback {
private _update_matrix: boolean = false;
clone() {
const new_update_callback = new AnimationUpdateCallback();
new_update_callback.setUpdateMatrix(this._update_matrix);
return new_update_callback;
}
setUpdateMatrix(update_matrix: boolean) {
this._update_matrix = update_matrix;
}
updateMatrix() {
return this._update_matrix;
}
}