babylon.normalMaterial.d.ts 1.0 KB

123456789101112131415161718192021222324252627
  1. declare module BABYLON {
  2. class NormalMaterial extends PushMaterial {
  3. private _diffuseTexture;
  4. diffuseTexture: BaseTexture;
  5. diffuseColor: Color3;
  6. private _disableLighting;
  7. disableLighting: boolean;
  8. private _maxSimultaneousLights;
  9. maxSimultaneousLights: number;
  10. private _worldViewProjectionMatrix;
  11. private _scaledDiffuse;
  12. private _renderId;
  13. constructor(name: string, scene: Scene);
  14. needAlphaBlending(): boolean;
  15. needAlphaTesting(): boolean;
  16. getAlphaTestTexture(): 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. dispose(forceDisposeEffect?: boolean): void;
  22. clone(name: string): NormalMaterial;
  23. serialize(): any;
  24. static Parse(source: any, scene: Scene, rootUrl: string): NormalMaterial;
  25. }
  26. }