babylon.lavaMaterial.d.ts 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. /// <reference path="../../../dist/preview release/babylon.d.ts" />
  2. declare module BABYLON {
  3. class LavaMaterial extends Material {
  4. diffuseTexture: BaseTexture;
  5. noiseTexture: BaseTexture;
  6. fogColor: Color3;
  7. speed: number;
  8. movingSpeed: number;
  9. lowFrequencySpeed: number;
  10. fogDensity: number;
  11. private _lastTime;
  12. diffuseColor: Color3;
  13. disableLighting: boolean;
  14. maxSimultaneousLights: number;
  15. private _worldViewProjectionMatrix;
  16. private _scaledDiffuse;
  17. private _renderId;
  18. private _defines;
  19. private _cachedDefines;
  20. constructor(name: string, scene: Scene);
  21. needAlphaBlending(): boolean;
  22. needAlphaTesting(): boolean;
  23. getAlphaTestTexture(): BaseTexture;
  24. private _checkCache(scene, mesh?, useInstances?);
  25. isReady(mesh?: AbstractMesh, useInstances?: boolean): boolean;
  26. bindOnlyWorldMatrix(world: Matrix): void;
  27. bind(world: Matrix, mesh?: Mesh): void;
  28. getAnimatables(): IAnimatable[];
  29. dispose(forceDisposeEffect?: boolean): void;
  30. clone(name: string): LavaMaterial;
  31. serialize(): any;
  32. static Parse(source: any, scene: Scene, rootUrl: string): LavaMaterial;
  33. }
  34. }