babylon.cellMaterial.d.ts 1.1 KB

12345678910111213141516171819202122232425262728
  1. /// <reference path="../../../dist/preview release/babylon.d.ts" />
  2. declare module BABYLON {
  3. class CellMaterial extends PushMaterial {
  4. private _diffuseTexture;
  5. diffuseTexture: BaseTexture;
  6. diffuseColor: Color3;
  7. _computeHighLevel: boolean;
  8. computeHighLevel: boolean;
  9. private _disableLighting;
  10. disableLighting: boolean;
  11. private _maxSimultaneousLights;
  12. maxSimultaneousLights: number;
  13. private _worldViewProjectionMatrix;
  14. private _scaledDiffuse;
  15. private _renderId;
  16. constructor(name: string, scene: Scene);
  17. needAlphaBlending(): boolean;
  18. needAlphaTesting(): boolean;
  19. getAlphaTestTexture(): BaseTexture;
  20. isReadyForSubMesh(mesh: AbstractMesh, subMesh: SubMesh, useInstances?: boolean): boolean;
  21. bindForSubMesh(world: Matrix, mesh: Mesh, subMesh: SubMesh): void;
  22. getAnimatables(): IAnimatable[];
  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. }