babylon.normalMaterial.d.ts 1.0 KB

1234567891011121314151617181920212223242526
  1. /// <reference path="../../../dist/preview release/babylon.d.ts" />
  2. declare module BABYLON {
  3. class NormalMaterial extends Material {
  4. diffuseTexture: BaseTexture;
  5. diffuseColor: Color3;
  6. disableLighting: boolean;
  7. private _worldViewProjectionMatrix;
  8. private _scaledDiffuse;
  9. private _renderId;
  10. private _defines;
  11. private _cachedDefines;
  12. constructor(name: string, scene: Scene);
  13. needAlphaBlending(): boolean;
  14. needAlphaTesting(): boolean;
  15. getAlphaTestTexture(): BaseTexture;
  16. private _checkCache(scene, mesh?, useInstances?);
  17. isReady(mesh?: AbstractMesh, useInstances?: boolean): boolean;
  18. bindOnlyWorldMatrix(world: Matrix): void;
  19. bind(world: Matrix, mesh?: Mesh): void;
  20. getAnimatables(): IAnimatable[];
  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. }