mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-02 00:22:43 +08:00
39a7fbdd89
* 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>
12 lines
282 B
TypeScript
12 lines
282 B
TypeScript
import { removeProperty } from '../../utils';
|
|
import { ModelComponent } from './model-component';
|
|
|
|
removeProperty(ModelComponent.prototype, 'ModelComponent.prototype', [
|
|
{
|
|
name: 'enableDynamicBatching',
|
|
},
|
|
{
|
|
name: 'receiveShadows',
|
|
},
|
|
]);
|