Files
cocos4/cocos/3d/framework/renderable-component.js
T
Huabing.Xu b717d9148f Renderer (#3282)
* add renderer to ccgame, add camera component

* apply stash

* fix predefine.js

* add renderable and rendersystem

* fix format

* fix debug

* fix run errors

* renderer can clear now
2018-09-19 19:24:16 +08:00

20 lines
386 B
JavaScript

import Component from '../../Components/CCComponent';
export default class RenderableComponent extends Component {
constructor() {
super();
this._system = null;
this._scene = null;
}
// todo add implementation
get renderSystem() {
return this._system;
}
// todo add scene
get scene() {
return this._scene;
}
};