babylon.cellMaterial.d.ts 1.1 KB

1234567891011121314151617181920212223242526272829
  1. declare module BABYLON {
  2. class CellMaterial extends PushMaterial {
  3. private _diffuseTexture;
  4. diffuseTexture: BaseTexture;
  5. diffuseColor: Color3;
  6. _computeHighLevel: boolean;
  7. computeHighLevel: boolean;
  8. private _disableLighting;
  9. disableLighting: boolean;
  10. private _maxSimultaneousLights;
  11. maxSimultaneousLights: number;
  12. private _worldViewProjectionMatrix;
  13. private _scaledDiffuse;
  14. private _renderId;
  15. constructor(name: string, scene: Scene);
  16. needAlphaBlending(): boolean;
  17. needAlphaTesting(): boolean;
  18. getAlphaTestTexture(): BaseTexture;
  19. isReadyForSubMesh(mesh: AbstractMesh, subMesh: SubMesh, useInstances?: boolean): boolean;
  20. bindForSubMesh(world: Matrix, mesh: Mesh, subMesh: SubMesh): void;
  21. getAnimatables(): IAnimatable[];
  22. getActiveTextures(): BaseTexture[];
  23. dispose(forceDisposeEffect?: boolean): void;
  24. clone(name: string): CellMaterial;
  25. serialize(): any;
  26. static Parse(source: any, scene: Scene, rootUrl: string): CellMaterial;
  27. }
  28. }