Files
cocos4/cocos/core/3d/framework/deprecated.ts
T
zxg0622 39a7fbdd89 refactor material instance (#5910)
* refactor material instance

* revert setMaterial signature

* fix some defects

* material instance using inheritance (#5)

* material instance using inheritance

* renderable component

* more fixes (#6)

* more fixes

* minor

* fix some defects

* fix batching (#7)

* better format (#8)

* fix

* fix batching & skybox (#9)

* fix skinning (#10)

* change sharedMaterial decorator

* add modelcomponent property deprecated

Co-authored-by: Yun Hsiao Wu <inheritorofgalaxy@gmail.com>
2019-12-25 17:41:04 +08:00

12 lines
282 B
TypeScript

import { removeProperty } from '../../utils';
import { ModelComponent } from './model-component';
removeProperty(ModelComponent.prototype, 'ModelComponent.prototype', [
{
name: 'enableDynamicBatching',
},
{
name: 'receiveShadows',
},
]);