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

* apply stash

* fix predefine.js

* add renderable and rendersystem

* fix format
2018-09-19 11:52:25 +08:00

19 lines
405 B
JavaScript

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