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 _renderId;
  13. constructor(name: string, scene: Scene);
  14. needAlphaBlending(): boolean;
  15. needAlphaTesting(): boolean;
  16. getAlphaTestTexture(): Nullable<BaseTexture>;
  17. isReadyForSubMesh(mesh: AbstractMesh, subMesh: SubMesh, useInstances?: boolean): boolean;
  18. bindForSubMesh(world: Matrix, mesh: Mesh, subMesh: SubMesh): void;
  19. getAnimatables(): IAnimatable[];
  20. getActiveTextures(): BaseTexture[];
  21. hasTexture(texture: BaseTexture): boolean;
  22. dispose(forceDisposeEffect?: boolean): void;
  23. getClassName(): string;
  24. clone(name: string): CellMaterial;
  25. serialize(): any;
  26. static Parse(source: any, scene: Scene, rootUrl: string): CellMaterial;
  27. }
  28. }