babylon.normalMaterial.d.ts 1.1 KB

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